import React from 'react'; import Icon from '../Icon'; import Typography from '../Typography'; import ColorSelector from '../ColorSelector'; import SliderWithTitle from '../SliderWithTitle'; import { Group, Item } from '../../global/toolStyled'; import data from './data'; type Props = { type: string; setType: (arg: string) => void; color: string; setColor: (arg: string) => void; opacity: number; handleOpacity: (arg: number) => void; }; const HighlightOption = ({ type, setType, color, setColor, opacity, handleOpacity, }: Props): React.ReactElement => ( <> Style {data.lineType.map(ele => ( { setType(ele.key); }} > ))} ); export default HighlightOption;