Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: Remove deprecated hierarchy separators #11615

Merged
merged 2 commits into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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