Skip to content

maia.component-library / SpinnerRootProps

Interface: SpinnerRootProps<E>

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/spinner/spinner.d.ts:4

Extends

  • DOMRenderProps<E, undefined>

Type Parameters

E

E extends keyof React.JSX.IntrinsicElements = "span"

Properties

className?

optional className?: string

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/spinner/spinner.d.ts:5


color?

optional color?: "accent" | "danger" | "success" | "warning" | "current"

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/spinner/spinner.d.ts:7

Spinner color.


render?

optional render?: DOMRenderFunction<E, undefined>

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/utils/dom.d.ts:16

Overrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components.

Requirements:

  • You must render the expected element type (e.g. if <button> is expected, you cannot render an <a>).
  • Only a single root DOM element can be rendered (no fragments).
  • You must pass through props and ref to the underlying DOM element, merging with your own prop as appropriate.

Inherited from

DOMRenderProps.render


size?

optional size?: "lg" | "md" | "sm" | "xl"

Defined in: node_modules/.pnpm/@heroui+react@3.2.1_@react-_0c36d9022f1aaf46c104e0a6d2192bf4/node_modules/@heroui/react/dist/components/spinner/spinner.d.ts:9

Spinner size.