Props
Props: Schema.Struct<{
readonly label: Schema.String;
}>Effect-native UI toolkit
Interactive demosPublished API · 0.1.0-rc.1
Published themes API declarations for components/accessible-icon.
@wsagency/wseffect-themes · MIT · source · MIT license · WS-AGENCY-NOTICE
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/accessible-icon'PropsProps: Schema.Struct<{
readonly label: Schema.String;
}>viewview: <Message>(props: ViewProps, children: ReadonlyArray<Html | string>, h: HtmlBuilder<Message>) => HtmlViewPropsexport type ViewProps = typeof Props.Type;| Name | Type | Required | Choices | Description |
|---|---|---|---|---|
label | string | Yes | — | — |
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.AccessibleIcon.view({ label: 'Search' }, [h.span([], ['⌕'])], h)