From 103a199dbcf13208a13bd9ea817d1d4ac0315ffb Mon Sep 17 00:00:00 2001 From: mwleklinskiVL Date: Fri, 3 Nov 2023 13:34:38 +0100 Subject: [PATCH] chore: NO-JIRA update readme --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index cd335c65..15780f65 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,41 @@ If you want to dive deeper into the components Tetrisly offers, check out our of You can also check out our Storybook, which is our Documentation for React components (now in progress): [Tetrisly Storybook](https://virtuslab.github.io/tetrisly-react/?path=/docs/alertbanner--docs) +## Customization + +All Tetrisly components have a `custom` prop. It makes it possible to customize the component without the need to create a new one. Below you can see an example of Button customization + +### Button + +If you want to change any of button styles, you can make it by passing custom props with object based on +specific component config. + +For instance, to change background-color of appereance="primary" intent="secondary" variant to pink, just pass +refferenced object structure: + +```jsx +