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