react-odyssey
Version:
React components for Odyssey design system
18 lines (17 loc) • 731 B
TypeScript
import { FunctionComponent, ComponentProps } from 'react';
import { LabelMakerProps } from './Label';
export interface FieldSetProps extends ComponentProps<'fieldset'>, LabelMakerProps {
}
export declare const Legend: FunctionComponent<ComponentProps<'legend'>>;
export interface AsideProps extends ComponentProps<'aside'> {
isError?: boolean;
isHint?: boolean;
}
export declare const Aside: FunctionComponent<AsideProps>;
export interface FieldSetRaw extends ComponentProps<'fieldset'> {
error?: boolean;
isFlex?: boolean;
}
export declare const FieldSetRaw: FunctionComponent<FieldSetRaw>;
export declare const FieldSet: FunctionComponent<FieldSetProps>;
export declare type FieldSetExtraProps = LabelMakerProps;