diff --git a/src/index.tsx b/src/index.tsx index 65efdad..de918fc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -271,23 +271,13 @@ const Segmented = React.forwardRef( }; const renderOption = (segmentedOption: SegmentedLabeledOption) => { - const { - label, - value: optionValue, - disabled: optionDisabled, - title, - } = segmentedOption; - const optionData: SegmentedLabeledOption = { - label, - value: optionValue, - disabled: optionDisabled, - title, - }; + const { value: optionValue, disabled: optionDisabled } = segmentedOption; + return ( { value: 'iOS', disabled: false, title: 'iOS', + tooltip: 'hello iOS', }; render( , );