import * as React from 'react' import * as SynthReact from '@beatgig/synth-react' interface LabelProps extends SynthReact.BoxProps { /** * The elements you want to display within the label component. */ children?: React.ReactNode /** * Required to properly extend styled-components. * @see {@link https://www.styled-components.com/docs/api#caveat-with-classname} */ className?: string } type LabelComponentProps = React.HTMLAttributes & React.RefAttributes & { as?: keyof JSX.IntrinsicElements | React.ComponentType forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType } & LabelProps type LabelComponent = SynthReact.SynthComponent< LabelComponentProps, HTMLLabelElement > /** * @since 1.3.0 */ declare const Label: LabelComponent export { LabelComponent, LabelComponentProps, LabelProps } export default Label