-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing a prop type or interface directly to the
props
option…
… in the docs (#3771) * Add docgen from ts props babel plugin * Add a basic example for demo * Removed example * Remove props.tsx and use props directly * Expand types * Passed interfaces directly to props in color picker example * Fixed type value in extended props * Added props-loader to convert interfaces to props * removed logger for result * Add comments * Update the prop-loader script to output only the processed, exported types & interfaces; use the loader specifically when needed * Fixed relative path for loader * Removed props.tsx files and uncomment playground files * removed docgen from ts props * Declare module as any * Add prop-loader declaration to custom typings Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
- Loading branch information
Showing
11 changed files
with
541 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.