Askr documentation
Generated API snapshot

@askrjs/themes/spinner

Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.

Exports

This entrypoint publishes 4 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

Spinnertype

Spinner: (props: SpinnerProps) => JSX.Element

Indeterminate loading spinner built on ProgressCircle, with an accessible label (defaults to "Loading") and a size modifier.

SpinnerOwnPropstype

SpinnerOwnProps: Omit<ProgressCircleProps, "value" | "getValueLabel"> & {
  label?: string;
  size?: SpinnerSize;
}

Props specific to {@link Spinner }, layered on top of ProgressCircleProps.

label
label?: string | undefined;
size
size?: SpinnerSize | undefined;

SpinnerPropstype

SpinnerProps: SpinnerOwnProps

Props for the {@link Spinner } component.

label
label?: string | undefined;
size
size?: SpinnerSize | undefined;

SpinnerSizetype

SpinnerSize: "sm" | "md" | "lg"

Size modifier for {@link Spinner }.