I've been working with the component package https://www.npmjs.com/package/react-switch-selector to create a design similar to this https://i.stack.imgur.com/voHqm.png
Although I have made some progress, I'm struggling to add a border outline. How can I achieve this and ensure the transition of the outline matches the highlighting when switching?
<SwitchSelector
onChange={onChange}
options={[
{ label: 'Milestone', value: 'Milestone' },
{ label: 'Activity', value: 'Activity' },
]}
initialSelectedIndex={0}
fontColor={'#767676'}
backgroundColor={'#FFFFFF'}
wrapperBorderRadius={30}
selectedFontColor={'#526FD6'}
selectedBackgroundColor={'#EEF1FB'}
optionBorderRadius={30}
/>
This is what I currently have: