We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
According to the documentation: https://storybook.js.org/basics/writing-stories/#nesting-stories
We can do nesting with the stories. So, i made this example.
import React from 'react'; import { View, Text } from 'react-native'; import { storiesOf } from '@storybook/react-native'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { Background, Input } from './'; storiesOf('CC/DD/Inputs', module) .addDecorator(story => ( <Background style={styles.center}> <View style={{ alignSelf: 'stretch' }}>{story()}</View> </Background> )) .add('Email', () => <Input />) .add('Password', () => <Input pass />); storiesOf('CC/DD/Backgrounds', module).add('Gradiente Azul', () => ( <Background /> ));
In the web browser:
But in VSCODE.
The nesting don't work.
Thank you
The text was updated successfully, but these errors were encountered:
Nope, you're welcome to add it though 👍 - dupe of #13
Sorry, something went wrong.
No branches or pull requests
Hi
According to the documentation: https://storybook.js.org/basics/writing-stories/#nesting-stories
We can do nesting with the stories. So, i made this example.
In the web browser:
But in VSCODE.
The nesting don't work.
Thank you
The text was updated successfully, but these errors were encountered: