import React from 'react'; import { useTranslation } from 'react-i18next'; // import Icon from '../Icon'; // import Button from '../Button'; // import Typography from '../Typography'; import SliderWithTitle from '../SliderWithTitle'; import ColorSelector from '../../containers/ColorSelector'; import { Wrapper, // Group, // Item, } from '../../global/toolStyled'; const FreehandOption: React.SFC = ({ // type, color, opacity, width, setDataState = (): void => { // do nothing }, }: OptionPropsType) => { const { t } = useTranslation('sidebar'); return ( <> {/* {t('style')} { setDataState({ type: 'pen' }); }} > */} { setDataState({ color: selected }); }} throughPortal /> { setDataState({ opacity: val }); }} /> { setDataState({ width: val }); }} maximum={40} /> {/* */} ); }; export default FreehandOption;