UNPKG

@progress/kendo-react-indicators

Version:

React Indicators offer an interface to represent a visual indication for their UI elements. KendoReact Indicators package

59 lines (58 loc) 2.17 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { LoaderSize } from './models/size.js'; import { LoaderThemeColor } from './models/theme-color.js'; import { LoaderType } from './models/type.js'; /** * Represents the props of the [KendoReact Loader component](https://www.telerik.com/kendo-react-ui/components/indicators/loader). */ export interface LoaderProps { /** * Specifies a list of CSS classes that will be added to the Loader. */ className?: string; /** * Sets additional CSS styles to the Loader. */ style?: React.CSSProperties; /** * Specifies the size of the Loader. * * The possible values are: * * `small` * * `medium` (Default) * * `large` * */ size?: LoaderSize; /** * Specifies the theme color of the Loader. * * The possible values are: * * `primary` (Default)—Applies coloring based on primary theme color. * * `secondary`—Applies coloring based on secondary theme color. * * `tertiary`— Applies coloring based on tertiary theme color. * * `info`—Applies coloring based on info theme color. * * `success`— Applies coloring based on success theme color. * * `warning`— Applies coloring based on warning theme color. * * `error`— Applies coloring based on error theme color. * * `dark`— Applies coloring based on dark theme color. * * `light`— Applies coloring based on light theme color. * * `inverse`— Applies coloring based on inverse theme color. */ themeColor?: LoaderThemeColor; /** * Specifies the Loader animation type. * * The possible values are: * - `pulsing` (default) * - `infinite-spinner` * - `converging-spinner` */ type?: LoaderType; }