diff --git a/site/source/design-system/field/Radio/Radio.tsx b/site/source/design-system/field/Radio/Radio.tsx index c2ab853a1..27f0d2f02 100644 --- a/site/source/design-system/field/Radio/Radio.tsx +++ b/site/source/design-system/field/Radio/Radio.tsx @@ -14,10 +14,10 @@ const RadioContext = createContext(null) export function Radio( props: AriaRadioProps & { LabelBodyAs?: Parameters['0']['as'] - radioVisible?: boolean + hideRadio?: boolean } ) { - const { LabelBodyAs: bodyType, radioVisible = true, ...ariaProps } = props + const { LabelBodyAs: bodyType, hideRadio, ...ariaProps } = props const { children } = ariaProps const state = useContext(RadioContext) if (!state) { @@ -27,16 +27,16 @@ export function Radio( const { inputProps } = useRadio(ariaProps, state, ref) return ( -