Merge pull request #190 from YassineElbouchaibi/update/#181

Remove yarn.lock from with-storybook #181
This commit is contained in:
Evan Bacon
2020-06-29 13:55:14 -07:00
committed by GitHub
4 changed files with 12 additions and 14312 deletions

View File

@@ -6,4 +6,8 @@ configure(() => {
require("./stories");
}, module);
export default getStorybookUI();
export default getStorybookUI({
// Pass AsyncStorage below if you want Storybook to open your
// last visited story after you close and re-open your app
asyncStorage: null
});

View File

@@ -17,11 +17,11 @@
"devDependencies": {
"@babel/core": "7.9.0",
"@expo/webpack-config": "^0.11.11",
"@storybook/addon-actions": "^5.2.1",
"@storybook/addon-links": "^5.2.1",
"@storybook/addons": "^5.2.1",
"@storybook/react": "^5.2.1",
"@storybook/react-native": "^5.2.3",
"@storybook/addon-actions": "~5.2.1",
"@storybook/addon-links": "~5.2.1",
"@storybook/addons": "~5.2.1",
"@storybook/react": "~5.2.1",
"@storybook/react-native": "~5.3.19",
"@types/react": "~16.9.41",
"@types/react-dom": "~16.9.8",
"@types/react-native": "~0.62.13",

View File

@@ -7,7 +7,7 @@ export default {
title: 'Font',
};
export function font() {
export const CustomFontComponent = () => {
const [loaded, setLoaded] = useState(false);
useEffect(() => {
@@ -36,4 +36,4 @@ export function font() {
}
// On-Device Register
storiesOf('Font', module).add('Font', font);
storiesOf('Font', module).add('Font', () => (<CustomFontComponent/>));

File diff suppressed because it is too large Load Diff