-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sh-develop' into je-components
- Loading branch information
Showing
32 changed files
with
1,292 additions
and
268 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
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,8 +1,8 @@ | ||
import { FC } from 'react' | ||
import { AppBarProps } from '@material-ui/core/AppBar' | ||
import * as React from 'react' | ||
import { AppBarProps } from '../../../src' | ||
|
||
export type BaseAppBarProps = Pick<AppBarProps, 'position' | 'color'> | ||
export type RestAppBarProps = Omit<AppBarProps, keyof BaseAppBarProps> | ||
|
||
export const BaseAppBarDocs: FC<BaseAppBarProps> = () => null | ||
export const RestAppBarDocs: FC<RestAppBarProps> = () => null | ||
export const BaseAppBarDocs: React.FC<BaseAppBarProps> = () => null | ||
export const RestAppBarDocs: React.FC<RestAppBarProps> = () => null |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { | ||
CircularProgress, | ||
LinearProgress, | ||
Row, | ||
Column, | ||
Box, | ||
} from '../../../src' | ||
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks' | ||
|
||
<Meta title="Components/Progress" component={CircularProgress} /> | ||
|
||
# Progress | ||
|
||
Extends [Material UI Progress](https://material-ui.com/components/progress/) | ||
|
||
## Circular | ||
|
||
<Canvas> | ||
<Story name="default"> | ||
<Row justifyContent="center"> | ||
<CircularProgress /> | ||
<CircularProgress color="secondary" /> | ||
</Row> | ||
</Story> | ||
</Canvas> | ||
|
||
## Linear | ||
|
||
<Canvas> | ||
<Story name="linear"> | ||
<Column> | ||
<Box p={3}> | ||
<LinearProgress /> | ||
</Box> | ||
<Box p={3}> | ||
<LinearProgress color="secondary" /> | ||
</Box> | ||
</Column> | ||
</Story> | ||
</Canvas> | ||
|
||
## Props | ||
|
||
### CircularProgress | ||
|
||
<ArgsTable of={CircularProgress} /> | ||
|
||
### LinearProgress | ||
|
||
<ArgsTable of={LinearProgress} /> |
Oops, something went wrong.