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

Generate PropTypes Tables from Source Code #9

Open
ykadosh opened this issue Jan 7, 2021 · 0 comments · May be fixed by #33
Open

Generate PropTypes Tables from Source Code #9

ykadosh opened this issue Jan 7, 2021 · 0 comments · May be fixed by #33

Comments

@ykadosh
Copy link
Contributor

ykadosh commented Jan 7, 2021

Currently, we have to manually maintain our props tables, which is error prone.
We can use https://github.com/reactjs/react-docgen to automatically generate those from our source code.

A prerequisite for this task is to expose the prop types from webrix.
Something like:

import {MovableProps} from 'webrix/components';

// Or
import {Movable} from 'webrix/components';
// Access through Movable.Props
@ykadosh ykadosh linked a pull request May 4, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant