This entry point is published in @wsagency/wseffect-themes@0.1.0-rc.1. Import it from the package subpath shown below; the signatures and documentation are read from the installed package declarations.
import * as Wseffect from '@wsagency/wseffect-themes/components/spinner'
Props exported by @wsagency/wseffect-themes/components/spinner · Props · source
Name
Type
Required
Choices
Description
size
"1" | "2" | "3" | Responsive<"1" | "2" | "3">
No
—
—
loading
boolean
No
—
—
m
string | Responsive<string>
No
—
—
mx
string | Responsive<string>
No
—
—
my
string | Responsive<string>
No
—
—
mt
string | Responsive<string>
No
—
—
mr
string | Responsive<string>
No
—
—
mb
string | Responsive<string>
No
—
—
ml
string | Responsive<string>
No
—
—
Rendered component example
Spinner
Loading results
Example usage
import * as Themes from '@wsagency/wseffect-themes'
import * as SliderRange from '@wsagency/wseffect-themes/components/slider/range'
import * as Option from 'effect/Option'
import { defineView } from '@wsagency/wseffect-foldkit/submodel'
import { inertHtml, type HtmlBuilder } from '@wsagency/wseffect-foldkit/html'
const example = (h: HtmlBuilder<unknown>) => Themes.Spinner.view({}, ['Loading results'], h)