import { StyledLabel, StyledCheckbox } from './styled-checkbox'; import * as React from 'react'; interface Props { label: React.ReactNode; name: string; checked: boolean; onChange?: (e: {target: { value: string, name: string}}) => void; disabled?: boolean; styleLabel?: React.CSSProperties; } const Checkbox = (props: Props) => (