Skip to content

Commit

Permalink
move components into folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Colom committed Aug 14, 2023
1 parent 45f7c8d commit c2e5449
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-storybooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
with:
node-version: '16'

# Build docs from storybooks

- run: npm install
- run: npm run storybook-web-docs
- name: Build docs Storybooks
run: |
npm install
npm run storybook-web-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ jobs:
with:
node-version: '16'

# Build docs from storybooks
- run: npm install
- run: npm run storybook-web-docs
- name: Build docs Storybooks
run: |
npm install
npm run storybook-web-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Avatar/Avatar.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import Avatar from '../../../src/components/Avatar';

export default {
title: 'Avatar',
title: 'Components/Avatar',
argTypes: {
size: {
options: ['sm', 'md', 'lg'],
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/CheckBox/CheckBox.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import CheckBox from '../../../src/components/CheckBox';

export default {
title: 'CheckBox',
title: 'Components/CheckBox',
argTypes: {
checked: {
options: [true, false],
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Image/Image.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import Image from '../../../src/components/Image';

export default {
title: 'Image',
title: 'Components/Image',
argTypes: {
resizeMode: {
options: ['cover', 'contain', 'stretch', 'repeat', 'center'],
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Input/Input.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import Input from '../../../src/components/Input';

export default {
title: 'Input',
title: 'Components/Input',
argTypes: {
keyboardType: {
options: [
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Loading/Loading.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Text} from 'react-native';
import Loading from '../../../src/components/Loading/';

export default {
title: 'Loading',
title: 'Components/Loading',
argTypes: {
color: {
control: {type: 'color'},
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Svg/Svg.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import Svg from '../../../src/components/Svg';

export default {
title: 'Svg',
title: 'Components/Svg',
argTypes: {
name: {
options: [
Expand Down
2 changes: 1 addition & 1 deletion storybook/stories/Text/Text.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const fontWeights = [
];

export default {
title: 'Text',
title: 'Components/Text',
argTypes: {
fontFamily: {
options: fontFamilies,
Expand Down

0 comments on commit c2e5449

Please sign in to comment.