({ show, children, color, ...other })
| 12 | import styles from 'components/FormNote/FormNote.scss'; |
| 13 | |
| 14 | const FormNote = ({ show, children, color, ...other }) => ( |
| 15 | <SliderWrap {...other} direction={Directions.DOWN} expanded={show} block={true}> |
| 16 | <div className={[styles.note, styles[color]].join(' ')}>{children}</div> |
| 17 | </SliderWrap> |
| 18 | ); |
| 19 | |
| 20 | FormNote.propTypes = { |
| 21 | show: PropTypes.bool, |
nothing calls this directly
no outgoing calls
no test coverage detected