UNPKG

@teamsnap/teamsnap-ui

Version:

a CSS component library for TeamSnap

17 lines (16 loc) 450 B
import * as React from 'react'; export interface Props { align?: string; status?: PillStatus.ACTIVE | PillStatus.ERROR; style?: React.CSSProperties; mods?: string; children: any; onClick?: () => void; testId?: string; } export declare enum PillStatus { ACTIVE = "active", ERROR = "error" } declare const Pill: ({ align, status, style, mods, children, onClick, testId }: Props) => JSX.Element; export default Pill;