Skip to content

Commit

Permalink
Merge pull request #11615 from storybookjs/remove-deprecated-separators
Browse files Browse the repository at this point in the history
Examples: Remove deprecated hierarchy separators
  • Loading branch information
shilman authored Jul 20, 2020
2 parents 670abd4 + db4ae30 commit 526e0d2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { DocgenButton } from '../../components/DocgenButton';

export default {
title: 'Addons|Docs/ForwardRef',
title: 'Addons/Docs/ForwardRef',
component: ForwardedButton,
parameters: { chromatic: { disable: true } },
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { DocgenButton } from '../../components/DocgenButton';
const ButtonWithMemo = React.memo((props) => <DocgenButton {...props} />);

export default {
title: 'Addons|Docs/ButtonWithMemo',
title: 'Addons/Docs/ButtonWithMemo',
component: ButtonWithMemo,
parameters: { chromatic: { disable: true } },
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
};

export const Log = () => {
hrefTo('Addons|Links.Href', 'log').then((href) => action('URL of this story')(href));
hrefTo('Addons/Links/Href', 'log').then((href) => action('URL of this story')(href));

return <span>See action logger</span>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
};

export const Index = () => (
<select value="Index" onChange={linkTo('Addons|Links.Select', (e) => e.currentTarget.value)}>
<select value="Index" onChange={linkTo('Addons/Links/Select', (e) => e.currentTarget.value)}>
<option>Index</option>
<option>First</option>
<option>Second</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import { addDecorator } from '@storybook/react';

addDecorator((s, { kind }) =>
kind === 'Core|Decorators' ? (
kind === 'Core/Decorators' ? (
<>
<p>Global Decorator</p>
{s()}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Storyshots Core|Errors Null Error 1`] = `<!---->`;
exports[`Storyshots Core/Errors Null Error 1`] = `<!---->`;
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
title: 'Core|Errors',
title: 'Core/Errors',
parameters: { chromatic: { disable: true } },
};

Expand Down

0 comments on commit 526e0d2

Please sign in to comment.