import React from 'react' ; import classnames from 'classnames' ; import 'ProjectPlanner/Notice.scss' ; type Props = { type ? : 'error' | 'success' ; } ; export const Notice = ( { children , type = 'default' } ) => { return < div className = { classnames ( `notice notice-type-${ type }` ) } > { children } < /div>; } ;