react-bluekit icon indicating copy to clipboard operation
react-bluekit copied to clipboard

createBlueKit for component in defaultProps

Open altgifted opened this issue 7 years ago • 0 comments

BmFormControlLabel.defaultProps = {
    disabled: false,
    label: 'This is label text',
    name: '',
    control: <BmCheckbox color="primary"/> //In this place i get an error 'Unexpected token < SyntaxError: Unexpected token <'
};

altgifted avatar Jul 26 '18 03:07 altgifted