mattiamanzati / typings-material-ui

Typings from callemall/material-ui project as NPM Module
MIT License
3 stars 2 forks source link

(Undocumented) property "label" is missing on RadioButton #21

Closed neopostmodern closed 8 years ago

neopostmodern commented 8 years ago

TypeScript Version: 2.0.2

Typings Version: master

Issue: Error:

error TS2339: Property 'label' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<RadioButton> & RadioButtonProps & { children?: Rea...'.

It's not documented but appears in the example code (and works flawlessly), see docs

Code:

<RadioButton label="Label!" value="value" />
mattiamanzati commented 8 years ago

It should be fixed now, try installing typings install github:mattiamanzati/typings-material-ui and let me know!