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/skeleton'
Props exported by @wsagency/wseffect-themes/components/skeleton · Props · source
Name
Type
Required
Choices
Description
loading
boolean
No
—
—
width
string | Responsive<string>
No
—
—
minWidth
string | Responsive<string>
No
—
—
maxWidth
string | Responsive<string>
No
—
—
height
string | Responsive<string>
No
—
—
minHeight
string | Responsive<string>
No
—
—
maxHeight
string | Responsive<string>
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
Skeleton
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.Skeleton.view({ width: '12rem' }, [], h)