import * as React from 'react' import * as SynthReact from '@beatgig/synth-react' interface CheckboxProps { /** * Required to properly extend styled-components. * @see {@link https://www.styled-components.com/docs/api#caveat-with-classname} */ className?: string /** * Used for displaying text along with the checkbox input. */ label?: string /** * Boolean flag to determine if the checkbox should **not** be wrapper around a `label` element. */ withoutLabelWrapper?: boolean } type CheckboxComponentProps = React.InputHTMLAttributes & React.RefAttributes & { as?: keyof JSX.IntrinsicElements | React.ComponentType forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType } & CheckboxProps type CheckboxComponent = SynthReact.SynthComponent< CheckboxComponentProps, HTMLInputElement > /** * @since 1.0.0 */ declare const Checkbox: CheckboxComponent export { CheckboxComponent, CheckboxComponentProps, CheckboxProps } export default Checkbox