mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 17:41:48 +08:00
- Add missing filenames or titles to snippets - Proper capitalization of terms like Webpack, Babel, PostCSS, etc. - Fix some typos - Split up complex snippets - Document default parameter values - Move acknowledgements back to README
17 lines
319 B
Plaintext
17 lines
319 B
Plaintext
```js
|
|
// NavigationBasedComponent.stories.js
|
|
import NavigationBasedComponent from './NavigationBasedComponent';
|
|
|
|
export default {
|
|
component: NavigationBasedComponent,
|
|
parameters: {
|
|
nextjs: {
|
|
appDirectory: true,
|
|
navigation: {
|
|
segments: ['dashboard', 'analytics'],
|
|
},
|
|
},
|
|
},
|
|
};
|
|
```
|