types.ts

508 B · raw

1import type { JSX } from "solid-js";23export type CardId =4  | "protection"5  | "vault"6  | "sync"7  | "appearance"8  | "shortcuts"9  | "pro"10  | "feedback";1112export type StackIconKind =13  | "shield"14  | "lock"15  | "sync"16  | "sun"17  | "keys"18  | "spark"19  | "bubble";2021export interface StackCardSpec {22  id: CardId;23  num: string;24  title: string;25  lede: string;26  bgVar: string;27  fgVar: string;28  icon: StackIconKind;29  onIconClick?: () => void;30}3132export type StackBodies = Record<CardId, JSX.Element>;