chore: update prettier tab width for consistency

This commit is contained in:
41666 2021-03-13 22:49:01 -05:00
parent a931f8c69c
commit 9b71a24e2d
247 changed files with 7224 additions and 7375 deletions

View file

@ -2,13 +2,13 @@ import * as React from 'react';
import { HelpStoryWrapper } from './storyDecorator';
export default {
title: 'Molecules/Help Page',
decorators: [HelpStoryWrapper],
title: 'Molecules/Help Page',
decorators: [HelpStoryWrapper],
};
export const Base = () => (
<>
<h1>What is the world but vibrations?</h1>
<p>Vibrations that synchronize and tie it together, running free forever.</p>
</>
<>
<h1>What is the world but vibrations?</h1>
<p>Vibrations that synchronize and tie it together, running free forever.</p>
</>
);

View file

@ -3,19 +3,19 @@ import * as React from 'react';
import styled from 'styled-components';
export type HelpPageProps = {
children: React.ReactNode;
children: React.ReactNode;
};
const Container = styled.div`
background: ${palette.taupe300};
padding: 2em 3em;
width: 1024px;
max-width: 98vw;
margin: 0 auto;
margin-top: 75px;
box-sizing: border-box;
background: ${palette.taupe300};
padding: 2em 3em;
width: 1024px;
max-width: 98vw;
margin: 0 auto;
margin-top: 75px;
box-sizing: border-box;
`;
export const HelpPageBase = (props: HelpPageProps) => (
<Container>{props.children}</Container>
<Container>{props.children}</Container>
);

View file

@ -3,7 +3,7 @@ import * as React from 'react';
import { HelpPageBase } from './HelpPageBase';
export const HelpStoryWrapper = (storyFn: any): React.ReactNode => (
<Content>
<HelpPageBase>{storyFn()}</HelpPageBase>
</Content>
<Content>
<HelpPageBase>{storyFn()}</HelpPageBase>
</Content>
);