Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Fix docs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Lloyd committed Feb 9, 2023
1 parent 86f32ec commit eb0f9d4
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config"
+ "@storybook/addon-styling"
],
};
```
Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ If none of these decorators work for your library there is still hope. We've pro
Pulls the selected theme from storybook's global state.

```js
import { pluckThemeFromContext } from "@storybook/addon-style-config";
import { pluckThemeFromContext } from "@storybook/addon-styling";

export const myCustomDecorator =
({ themes, defaultState, ...rest }) =>
Expand All @@ -110,7 +110,7 @@ export const myCustomDecorator =
Returns the theme parameters for this addon.

```js
import { useThemeParameters } from "@storybook/addon-style-config";
import { useThemeParameters } from "@storybook/addon-styling";

export const myCustomDecorator =
({ themes, defaultState, ...rest }) =>
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config"
+ "@storybook/addon-styling"
],
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/emotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config"
+ "@storybook/addon-styling"
],
};
```
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/material-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ To get started, **install the package** as a dev dependency
yarn:

```zsh
yarn add -D @storybook/addon-style-config
yarn add -D @storybook/addon-styling
```

npm:

```zsh
npm install -D @storybook/addon-style-config
npm install -D @storybook/addon-styling
```

pnpm:

```zsh
pnpm add -D @storybook/addon-style-config
pnpm add -D @storybook/addon-styling
```

## 🧩 Register Addon
Expand All @@ -34,7 +34,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config",
+ "@storybook/addon-styling",
],
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/styled-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config"
+ "@storybook/addon-styling"
],
};
```
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/tailwind.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
],
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-style-config"
+ "@storybook/addon-styling"
],
};
```
Expand All @@ -52,7 +52,7 @@ module.exports = {
addons: [
"@storybook/addon-essentials",
+ "@storybook/addon-postcss"
"@storybook/addon-style-config"
"@storybook/addon-styling"
],
};
```
Expand Down

0 comments on commit eb0f9d4

Please sign in to comment.