/** @module @airtable/blocks/ui: Loader */ /** */ import PropTypes from 'prop-types'; import * as React from 'react'; import { FlexItemSetProps, PositionSetProps, MarginProps } from './system'; /** * Style props for the {@link Loader} component. Accepts: * * {@link FlexItemSetProps} * * {@link MarginProps} * * {@link PositionSetProps} */ interface LoaderStyleProps extends FlexItemSetProps, PositionSetProps, MarginProps { } export declare const loaderStylePropTypes: { [x: string]: PropTypes.Validator; }; /** * Props for the {@link Loader} component. Also accepts: * * {@link LoaderStyleProps} * * @docsPath UI/components/Loader * @noInheritDoc */ export interface LoaderProps extends LoaderStyleProps { /** The color of the loading spinner. Defaults to `'#888'` */ fillColor: string; /** A scalar for the loading spinner. Increasing the scale increases the size of the loading spinner. Defaults to `0.3`. */ scale: number; /** Additional class names to apply to the loading spinner. */ className?: string; /** Additional styles to apply to the loading spinner. */ style?: React.CSSProperties; } /** * A loading spinner component. * * [[ Story id="loader--example" title="Loader example" ]] * * @docsPath UI/components/Loader * @component */ declare const Loader: { (props: LoaderProps): React.JSX.Element; propTypes: { fillColor: PropTypes.Validator; scale: PropTypes.Validator; className: PropTypes.Requireable; style: PropTypes.Requireable; }; defaultProps: { fillColor: string; scale: number; }; }; export default Loader; //# sourceMappingURL=loader.d.ts.map