welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
9 lines (8 loc) • 321 B
TypeScript
import { HTMLAttributes, default as React } from 'react';
import { LabelProps } from '../Label/types';
export interface FieldGroupOptions {
hideLabel?: boolean;
label: React.ReactNode;
required?: LabelProps['required'];
}
export type FieldGroupProps = FieldGroupOptions & HTMLAttributes<HTMLFieldSetElement>;