import type { ComponentChildren } from "preact"; import { Row } from "./layout"; import { CHIP, COLORS, TYPOGRAPHY } from "./constants"; import type { LucideIcon } from "../../icons/lucide"; interface ChipProps { children?: ComponentChildren; paddingLeft?: number; paddingRight?: number; } export function Chip({ children, paddingLeft = 22, paddingRight = 22, }: ChipProps) { return (
{children}
); } interface IconChipProps { Icon: LucideIcon; maxWidth?: number; children?: ComponentChildren; } export function IconChip({ Icon, maxWidth = 440, children }: IconChipProps) { return ( {children} ); }