This awesome collection of components, built upon Chakra, powers all of Mediatool's features.
Below you'll find an overview of each part of the library.
In this folder you'll find components, hooks, utils and theme. This is the actual library and is what gets published to npm.
Want to contribute? Awesome! Find what suits your use-case below and follow the steps.
- Create a new folder under
lib/components
- Create a file inside of the folder and write your component
- Export the component from an index file
lib/components/my-new-component/index.ts
- Export your folder in
lib/components/index.ts
- Create a new folder under
lib/hooks
- Create a file inside of the folder and write your hook
- Export the hook from an index file
lib/hooks/my-new-hook/index.ts
- Export your folder in
lib/hooks/index.ts