Skip to content

Commit

Permalink
Update index.stories.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
surajahmed authored Mar 5, 2024
1 parent 06de61b commit 1807f98
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ declare module '@gluestack-ui/themed' {
}

```
> Note: The updated config will be applied automatically, as it is passed inside `GluestackUIProvider` component located at "./components/GluestackUIProvider/index.tsx"
> Note: The updated config will be applied automatically, as it is passed inside `GluestackUIProvider` component located at "./components/gluestack-ui-provider/index.tsx"
You can customize all the tokens of the theme in `config`. For a complete list of tokens and default values, please check [default Tokens](https://gluestack.io/ui/docs/theme-configuration/theme/default-tokens).

5. **Update Components**: you can find all of your components theme inside `./components` folder. For example, if you want to customize `Button` component, you can find its theme file at `./components/Button/index.tsx`. Update component's style as per your requirements.
5. **Update Components**: you can find all of your components theme inside `./components` folder. For example, if you want to customize `Button` component, you can find its theme file at `./components/button/index.tsx`. Update component's style as per your requirements.

## Customizing Animations

Expand Down Expand Up @@ -117,7 +117,7 @@ export const config = createConfig({
type Config = typeof config;
type Components = typeof components;

declare module '@gluestack-ui/themed' {
declare module '@gluestack-style/react' {
interface UIConfig extends Config {}
interface UIComponents extends Components {}
}
Expand Down

0 comments on commit 1807f98

Please sign in to comment.