mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 05:01:11 +08:00
Strip fileName from parameters story
This commit is contained in:
parent
cd20c419f6
commit
640e591d19
@ -19,7 +19,7 @@ export default {
|
||||
|
||||
// I'm not sure what we should recommend regarding propTypes? are they a good idea for examples?
|
||||
// Given we sort of control the props, should we export a prop type?
|
||||
export const passed = ({ parameters: { options, ...parameters }, ...rest }) => (
|
||||
export const passed = ({ parameters: { options, fileName, ...parameters }, ...rest }) => (
|
||||
<pre>Parameters: {JSON.stringify(parameters, null, 2)}</pre>
|
||||
);
|
||||
passed.story = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user