Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Types to support styles #17

Open
jacquesdev opened this issue Aug 13, 2021 · 0 comments
Open

Add Types to support styles #17

jacquesdev opened this issue Aug 13, 2021 · 0 comments
Assignees

Comments

@jacquesdev
Copy link
Contributor

While we are here shall we add a flow types for types_first setting that is coming. Not sure if View has a flow type definition so try;

type ViewProps= typeof View

type ContainerProps = {
   color: string,
   ...ViewProps,
}

export const Container: ContainerProps ...

I'm not sure if would need to do ComponentType<ContainerProps>. Or could flag in that types first stylesheet ticket to update the generator then?

Originally posted by @ChristieRobson in #15 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants