import React , { LabelHTMLAttributes } from 'react' ; import { StyledLabel } from './styled' ; export interface LabelProps extends LabelHTMLAttributes < HTMLLabelElement > { renderOptional ? : boolean ; } export const FormControlLabel = ( { className , style , ... props } ) => < StyledLabel { ... props } / > ;