Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit ff0a9dc

Browse files
jpedroschmitzJoão Pedro Schmitz
authored andcommitted
docs(examples): Add guide on how to create example
1 parent 1859b3e commit ff0a9dc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

examples/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@ needs, hiding labels, styling error messages, etc.
1010
| Radio | [JavaScript](./radio.js) - [TypeScript](./typescript/radio.tsx) |
1111
| Textarea | [JavaScript](./textarea.js) - [TypeScript](./typescript/textarea.tsx) |
1212
| Checkbox | [JavaScript](./checkbox.js) - [TypeScript](./typescript/checkbox.tsx) |
13+
14+
## Add an example
15+
16+
If you'd like to submit an example, make sure it hasn't been proposed yet. To get started,
17+
create your new example on [CodeSandbox](https://codesandbox.io/), test it and make sure it works as expected. When it's ready, open a PR to add it on this folder (we recommend you create the example for both JavaScript and TypeScript, but that's not required).
18+
19+
Also, don't forget to add a Usage example and the component on the file. So it's super easy to test it out! If it's a React Native example, add an `rn-` prefix to it.

0 commit comments

Comments
 (0)