Skip to content

Commit

Permalink
Merge pull request #4141 from GeekyAnts/fix/spinner-typings
Browse files Browse the repository at this point in the history
fix: fixed typings for spinner
  • Loading branch information
surajahmed authored Oct 4, 2021
2 parents 8d6d456 + 553b86d commit 218bfe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/primitives/Spinner/types.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { ActivityIndicatorProps } from 'react-native';
import type { SpaceProps, LayoutProps, PositionProps } from '../../types';
import type { ResponsiveValue } from '../../../components/types';
import type { ISizes } from '../../../theme/base/sizes';
export interface ISpinnerProps
extends Omit<ActivityIndicatorProps, 'size'>,
SpaceProps,
Expand All @@ -10,7 +9,7 @@ export interface ISpinnerProps
/**
* Size of Spinner
*/
size?: ResponsiveValue<ISizes | (string & {}) | number>;
size?: ResponsiveValue<'sm' | 'lg'>;

// variant?:
// | 'custom'
Expand Down

0 comments on commit 218bfe8

Please sign in to comment.