mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
added the proper class name
This commit is contained in:
parent
6c53ed0444
commit
f80fcbd21e
@ -76,7 +76,7 @@ Secondary.args = {
|
||||
}
|
||||
```
|
||||
|
||||
<div class=".aside">
|
||||
<div class="aside">
|
||||
|
||||
Note that if you are doing the above often, you may want to consider using [component-level args](#component-args).
|
||||
|
||||
@ -137,7 +137,7 @@ LoggedIn.args = {
|
||||
export const parameter = { passArgsFirst : false }.
|
||||
```
|
||||
|
||||
<div class=".aside">
|
||||
<div class="aside">
|
||||
|
||||
Note that `args` is still available as a key on the context.
|
||||
|
||||
|
@ -231,7 +231,7 @@ export const ManyItems = (args) => (
|
||||
);
|
||||
```
|
||||
|
||||
<div class=".aside">
|
||||
<div class="aside">
|
||||
|
||||
Note that there are disadvantages in writing stories like this as you cannot take full advantage of the args mechanism and composing args as you build more complex composite components. For more discussion, set the [multi component stories](../workflows/stories-for-multiple-components) workflow article.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user