Group grid card — open via ./Navigator.
./Navigator
Source src/ui/GroupView.ts:144 lines
export class class GroupCardGroup grid card — open via
./Navigator
.
GroupCard extends import ViewView.const Card: View.FulfilledPrototype<
View.ViewProps,
View.WithSize<{
readonly _tag: "Card"
}>
>
Size-chrome add-ons —
SizeChrome
with size fulfilled.
Mint with View.Card.Tag<Self, Props?>()(key, statics?).
Matcher components are not these — use View.react(…).Card or
useMatch
.
Card.Prototype<ViewProps, {}, WithSize<{ readonly _tag: "Card"; }>>.Tag: <GroupCard, {}>() => <K, NewStatics>(key: K, statics?: NewStatics | undefined) => ServiceClass<GroupCard, K, View.View<{
readonly tag: View.ViewTag;
readonly name?: string | undefined;
}>> & { readonly [K in keyof (View.WithSize<{
readonly _tag: "Card";
}> & NewStatics)]: (View.WithSize<{
readonly _tag: "Card";
}> & NewStatics)[K]; } & {
readonly Type: {
readonly tag: View.ViewTag;
readonly name?: string | undefined;
};
}
Mint a Context.Service class handle (Effect Service<Self, View<Props>>()("key")).
NewProps — extra component props (additive)
statics — optional runtime statics (spec, …); merged onto the class
- Annotate skins with
PoolCard["Service"] (no typeof)
Does not change this Prototype’s Requirement type — returns a class.
For bind, the class still needs .size (use
Card
/
Detail
/
Page
, or pass size in statics / fulfill via .Prototype() first).
Tag<class GroupCardGroup grid card — open via
./Navigator
.
GroupCard>()(
"hyperlink/view/group-card",
{ spec: {
readonly kind: "hyperlink-ts/Group"
}
spec: const groupViewSpec: {
readonly kind: "hyperlink-ts/Group"
}
groupViewSpec },
) {}
Referenced by 1 symbols