Mixins / foldkit-mixins-ui

CardPreset

type · packages/mixins-ui/src/card.ts:296

type CardPreset<Message = never> = Pick<
  CardView<Message>,
  'style' | 'words' | 'headingLevel'
> & {
  readonly groupStyle?: NamedStyle<typeof CardGroupSlots> | undefined
  readonly fluid?: CardGroupFluid | undefined
  readonly mixins?: MixinList<Message>
}

What a Card is given once: its look and words, the look of a group of them, and its highlight.