UNPKG

tharikida-ui

Version:

A modern, lightweight React UI component library with built-in theming, accessibility, and full TypeScript support. Create beautiful, responsive, and customizable web apps faster with ready-to-use components for any project.

21 lines (20 loc) 863 B
import React from "react"; /** * `Loader` is a circular spinner component for indicating loading states, supporting theming and custom styles. * * @param {object} props - The properties to customize the `Loader` component. * @param {number} [props.size=32] - Size of the loader in px. * @param {string} [props.color] - Loader color. Defaults to theme primary color. * @param {React.CSSProperties} [props.styles] - Custom styles for the loader container. * @param {string} [props.className] - Additional className for the loader. * * @returns {JSX.Element} A styled loader spinner. */ export interface LoaderProps { size?: number; color?: string; styles?: React.CSSProperties; className?: string; } declare const Loader: ({ size, color, styles, className }: LoaderProps) => import("react/jsx-runtime").JSX.Element; export default Loader;