import React from 'react' import { ForwardedRef, forwardRef } from 'react' import { CheckboxProps } from './types' import { CheckboxWrapperStyle, CheckboxInputStyle, CheckboxIconStyle, } from './CheckboxStyles' import { Text } from '@lidofinance/text' import { Box } from '@lidofinance/box' function Checkbox( props: CheckboxProps, inputRef?: ForwardedRef ) { const { className, style, wrapperRef, children, label, ...inputProps } = props const { disabled } = inputProps const wrapperProps = { className, style } return ( {label && ( {label} )} ) } export default forwardRef(Checkbox)