material-ui-layout icon indicating copy to clipboard operation
material-ui-layout copied to clipboard

Add material-ui/core flow-typed

Open PolGuixe opened this issue 7 years ago • 2 comments
trafficstars

Add the library however some changes are required.

I need to open a discussion with the maintainers.

PolGuixe avatar Jun 20 '18 19:06 PolGuixe

I have opened an issue here https://github.com/flowtype/flow-typed/issues/2395

PolGuixe avatar Jun 21 '18 09:06 PolGuixe

Probably for the variables instead of just setting string types we should import the types from flow-typed to be used in our file eg:

import {Colors} from 'flow-typed/material-ui' // I don't think the import works this way

type Props = {
buttonColor: Colors
}

PolGuixe avatar Jun 21 '18 10:06 PolGuixe