import { c, classy } from '@onfido/castor'; import { useField } from '@onfido/castor-react'; import React from 'react'; import { withRef } from '../../utils'; export const Fieldset = withRef(function Fieldset( { className, ...restProps }: FieldsetProps, ref: FieldsetProps['ref'] ) { const { disabled } = useField(); return (
); }); export type FieldsetProps = JSX.IntrinsicElements['fieldset'];