@primer/react
Version:
An implementation of GitHub's Primer Design System using React
18 lines • 588 B
TypeScript
import type React from 'react';
import type { SxProp } from '../sx';
import { InputLabel } from '../internal/components/InputLabel';
export type Props = {
/**
* Whether the label should be visually hidden
*/
visuallyHidden?: boolean;
requiredText?: string;
requiredIndicator?: boolean;
id?: string;
className?: string;
} & SxProp;
declare const FormControlLabel: React.FC<React.PropsWithChildren<{
htmlFor?: string;
} & React.ComponentProps<typeof InputLabel> & Props>>;
export default FormControlLabel;
//# sourceMappingURL=FormControlLabel.d.ts.map