import * as React from "react";
import { ParagraphSmall } from "baseui/typography";
import { Radio, RadioGroup } from "baseui/radio";
import { RadioOverrides } from "baseui/radio";
export default function Example() {
const [value, setValue] = React.useState("1");
const radioOverrides: RadioOverrides = {
Label: ({ $value }) => (
Custom label for value: {$value}
),
RadioMarkOuter: {
style: ({ $theme }) => ({
backgroundColor: $theme.colors.positive,
}),
},
};
return (
setValue(e.target.value)}
value={value}
>
First
Second
Third
);
}