Gekidou Update deps (#5530)

This commit is contained in:
Elias Nahum
2021-07-11 07:52:44 -04:00
committed by GitHub
parent 134c4a49c5
commit c64277bdbf
54 changed files with 16537 additions and 23546 deletions

View File

@@ -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) => {

View File

@@ -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')}
/>
));