-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
454 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
import type {ComponentProps} from 'react'; | ||
import styled from '@emotion/native'; | ||
|
||
import {Accordion} from '../../../main/uis/Accordion'; | ||
import {StoryContainer, StoryTitle} from '../../GlobalStyles'; | ||
import {StoryWrapper} from '../../Common'; | ||
|
||
const ScrollContainer = styled.ScrollView` | ||
width: 100%; | ||
`; | ||
|
||
function AccordionBasic(props: ComponentProps<typeof Accordion>): JSX.Element { | ||
export default function AccordionBasic( | ||
props: ComponentProps<typeof Accordion>, | ||
): JSX.Element { | ||
return ( | ||
<StoryContainer> | ||
<StoryTitle>Basic</StoryTitle> | ||
<ScrollContainer> | ||
<Accordion {...props} /> | ||
</ScrollContainer> | ||
</StoryContainer> | ||
<StoryWrapper> | ||
<Accordion {...props} /> | ||
</StoryWrapper> | ||
); | ||
} | ||
|
||
export default AccordionBasic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
import type {ComponentProps} from 'react'; | ||
import {ScrollView} from 'react-native'; | ||
|
||
import {ButtonGroup} from '../../../main/uis/ButtonGroup'; | ||
import {StoryContainer, StoryTitle} from '../../GlobalStyles'; | ||
import {StoryWrapper} from '../../Common'; | ||
|
||
function ButtonGroupBasic( | ||
export default function ButtonGroupBasic( | ||
props: ComponentProps<typeof ButtonGroup>, | ||
): JSX.Element { | ||
return ( | ||
<StoryContainer> | ||
<StoryTitle>Basic</StoryTitle> | ||
<ScrollView contentContainerStyle={{flexDirection: 'column'}}> | ||
<ButtonGroup {...props} /> | ||
</ScrollView> | ||
</StoryContainer> | ||
<StoryWrapper> | ||
<ButtonGroup {...props} /> | ||
</StoryWrapper> | ||
); | ||
} | ||
|
||
export default ButtonGroupBasic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import type {ComponentProps} from 'react'; | ||
|
||
import {Button} from '../../../main'; | ||
import {StoryContainer, StoryTitle} from '../../GlobalStyles'; | ||
import {StoryWrapper} from '../../Common'; | ||
|
||
function ButtonBasicStory(props: ComponentProps<typeof Button>): JSX.Element { | ||
export default function ButtonBasicStory( | ||
props: ComponentProps<typeof Button>, | ||
): JSX.Element { | ||
return ( | ||
<StoryContainer> | ||
<StoryTitle>Basic</StoryTitle> | ||
<StoryWrapper> | ||
<Button {...props} /> | ||
</StoryContainer> | ||
</StoryWrapper> | ||
); | ||
} | ||
|
||
export default ButtonBasicStory; |
Oops, something went wrong.