@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
23 lines (22 loc) • 733 B
TypeScript
import * as React from 'react';
import { WithAppProviderProps } from '../AppProvider';
export declare type Color = 'white' | 'teal' | 'inkLightest';
export declare type Size = 'small' | 'large';
export interface Props {
/**
* Color of spinner
* @default 'teal'
*/
color?: Color;
/**
* Size of spinner
* @default 'large'
*/
size?: Size;
/** Accessible label for the spinner */
accessibilityLabel?: string;
}
export declare type CombinedProps = Props & WithAppProviderProps;
declare function Spinner({ size, color, accessibilityLabel, polaris: { intl }, }: CombinedProps): JSX.Element;
declare const _default: React.ComponentClass<Props> & typeof Spinner;
export default _default;