* Add linter rules for import order and type member delimiters * Remove unneeded group * Group all app/* imports before the internal imports * Move app/ imports before parent imports * Separate @node_modules imports into a different group * Substitute app paths by aliases * Fix @node_modules import order and add test related modules * Add aliases for types and test, and group import types
18 lines
605 B
TypeScript
18 lines
605 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {withKnobs, select} from '@storybook/addon-knobs';
|
|
import {storiesOf} from '@storybook/react-native';
|
|
|
|
import React from 'react';
|
|
|
|
import Loading from './loading';
|
|
|
|
storiesOf('Loading Icon Story', module).
|
|
addDecorator(withKnobs).
|
|
add('loading icon', () => (
|
|
<Loading
|
|
size={select('size', {Large: 'large', Small: 'small'}, 'large')}
|
|
color={select('color', {Red: 'red', Blue: 'blue', Yellow: 'yellow', Black: 'black'}, 'red')}
|
|
/>
|
|
));
|