forked from Ivasoft/mattermost-mobile
Gekidou Update deps (#5530)
This commit is contained in:
@@ -5,9 +5,9 @@ import React from 'react';
|
||||
import {ActivityIndicator, StyleSheet, View, ViewStyle} from 'react-native';
|
||||
|
||||
type LoadingProps = {
|
||||
color?: string,
|
||||
size?: 'small' | 'large',
|
||||
style?: ViewStyle,
|
||||
color?: string;
|
||||
size?: 'small' | 'large';
|
||||
style?: ViewStyle;
|
||||
}
|
||||
|
||||
const Loading = ({size = 'large', color = 'grey', style}: LoadingProps) => {
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
import React from 'react';
|
||||
|
||||
import {storiesOf} from '@storybook/react-native';
|
||||
import {withKnobs, select} from '@storybook/addon-knobs';
|
||||
|
||||
import Loading from './index';
|
||||
|
||||
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')}
|
||||
/>
|
||||
));
|
||||
Reference in New Issue
Block a user