Skip to content

Commit

Permalink
Improve onboarding component
Browse files Browse the repository at this point in the history
  • Loading branch information
baptadn committed Feb 11, 2020
1 parent 8f3b8d7 commit f1f0981
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 6 additions & 10 deletions src/templates/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,21 +328,19 @@ export const onboarding: IComponents = {
'comp-K6GOMRTOCHZHD': {
id: 'comp-K6GOMRTOCHZHD',
props: {
columns: '2',
spacingX: '10',
spacingY: 1,
minChildWidth: '',
p: '10',
p: 10,
gap: '6',
templateColumns: 'repeat(auto-fit, minmax(350px, 1fr))',
},
children: [
'comp-K6GXBDLT2XCNC',
'comp-K6H0JNXQ74O61',
'comp-K6H1R04NDVRXG',
'comp-K6H1HKZ1MFW94',
],
type: 'SimpleGrid',
type: 'Grid',
parent: 'root',
rootParentType: 'SimpleGrid',
rootParentType: 'Grid',
},
'comp-K6GOPXN2COS0O': {
id: 'comp-K6GOPXN2COS0O',
Expand Down Expand Up @@ -1022,9 +1020,7 @@ export const onboarding: IComponents = {
},
'comp-K6H1R04NDVRXG': {
id: 'comp-K6H1R04NDVRXG',
props: {
mt: '6',
},
props: {},
children: ['comp-K6H1RE2JP0JEX'],
type: 'Box',
parent: 'comp-K6GOMRTOCHZHD',
Expand Down
3 changes: 2 additions & 1 deletion src/utils/defaultProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ export const DEFAULT_PROPS: PreviewDefaultProps = {
Icon: { ...Icon.defaultProps, name: 'copy' },
Image: {
...Image.defaultProps,
size: '100px',
height: '100px',
width: '100px',
fallbackSrc: 'https://via.placeholder.com/150',
},
Text: { ...Text.defaultProps, children: 'Lorem Ipsum' },
Expand Down

0 comments on commit f1f0981

Please sign in to comment.