import * as React from "react"; import { Slider } from "baseui/slider"; export default function Example() { const [value, setValue] = React.useState([70]); return ( setValue(value)} overrides={{ InnerThumb: ({ $value, $thumbIndex }) => ( {$value[$thumbIndex]} ), ThumbValue: () => null, Thumb: { style: () => ({ height: "36px", width: "36px", display: "flex", alignItems: "center", justifyContent: "center", borderTopLeftRadius: "36px", borderTopRightRadius: "36px", borderBottomRightRadius: "36px", borderBottomLeftRadius: "36px", borderLeftStyle: "solid", borderRightStyle: "solid", borderTopStyle: "solid", borderBottomStyle: "solid", borderLeftWidth: "3px", borderTopWidth: "3px", borderRightWidth: "3px", borderBottomWidth: "3px", borderLeftColor: `#ccc`, borderTopColor: `#ccc`, borderRightColor: `#ccc`, borderBottomColor: `#ccc`, backgroundColor: "#fff", }), }, }} /> ); }