Type alias PillProps

PillProps: {
    as?: "button" | "span";
    color?: string;
    outline?: boolean;
    prefix?: ReactElement;
    size?: Size;
    solid?: boolean;
    subtle?: boolean;
    suffix?: ReactElement;
} & Omit<CoreViewProps, "as">

Type declaration

  • Optional as?: "button" | "span"
  • Optional color?: string
  • Optional outline?: boolean
  • Optional prefix?: ReactElement
  • Optional size?: Size
  • Optional solid?: boolean
  • Optional subtle?: boolean
  • Optional suffix?: ReactElement

Generated using TypeDoc