Skip to content

Generate PropTypes Tables from Source Code #9

Description

@ykadosh

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions