Skip to content

Commit

Permalink
Merge 18f146b into 324995a
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin committed Aug 28, 2019
2 parents 324995a + 18f146b commit fdd5448
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/framework/ui/spinner/spinner.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export type SpinnerElement = React.ReactElement<SpinnerProps>;
* Default is `medium`.
*
* @property {string} status - Determines the status of the component.
* Can be `primary`, `success`, `info`, `warning` or `danger`.
* Can be `primary`, `success`, `info`, `warning`, `danger` or `alternative`.
* Default is `primary`.
*
* @overview-example Simple Usage
Expand All @@ -54,7 +54,7 @@ export type SpinnerElement = React.ReactElement<SpinnerProps>;
* import { Spinner } from 'react-native-ui-kitten';
*
* export const SpinnerShowcase = () => (
* <Spinner />
* <Spinner />
* );
* ```
*
Expand Down
16 changes: 4 additions & 12 deletions src/playground/src/ui/screen/spinner/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,10 @@ const dangerSpinner: ComponentShowcaseItem = {
},
};

const blackSpinner: ComponentShowcaseItem = {
title: 'Black',
const alternativeSpinner: ComponentShowcaseItem = {
title: 'Alternative',
props: {
status: 'black',
},
};

const whiteSpinner: ComponentShowcaseItem = {
title: 'White',
props: {
status: 'white',
status: 'alternative',
},
};

Expand All @@ -108,8 +101,7 @@ const statusSection: ComponentShowcaseSection = {
infoSpinner,
warningSpinner,
dangerSpinner,
blackSpinner,
whiteSpinner,
alternativeSpinner,
],
};

Expand Down

0 comments on commit fdd5448

Please sign in to comment.