UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

17 lines (16 loc) 436 B
import React from "react"; export interface ChipProps { onClick?(): void; text: string; image: string; size?: "large"; disabled?: boolean; active?: boolean; } export interface ChipWrapperProps { onClick?(): void; children: React.ReactElement; disabled?: boolean; className: string; } export declare const Chip: ({ onClick, text, image, size, disabled, active, }: ChipProps) => React.JSX.Element;