carbon-react
Version:
A library of reusable React components for easily building user interfaces.
22 lines (21 loc) • 1.03 kB
TypeScript
import React from "react";
import { MarginProps } from "styled-system";
import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
import { StyledLoaderSquareProps } from "./loader-square.style";
/**
* @deprecated `Loader` has been deprecated. See the Carbon documentation for migration details.
*/
export interface LoaderProps extends Omit<StyledLoaderSquareProps, "backgroundColor">, MarginProps, TagProps {
/** Toggle between the default variant and gradient variant */
variant?: string;
/**
* Specify a custom accessible label for the Loader.
* This label is visible to users who have enabled the reduce motion setting in their operating system. It is also available to assistive technologies.
*/
loaderLabel?: string;
}
/**
* @deprecated `Loader` has been deprecated. See the Carbon documentation for migration details.
*/
export declare const Loader: ({ variant, size, isInsideButton, isActive, loaderLabel, ...rest }: LoaderProps) => React.JSX.Element;
export default Loader;