UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

50 lines (49 loc) 1.26 kB
import React from 'react'; import { StandardProps } from '../../util/component-types'; export declare enum TagStyle { 'style-one' = "style-one", 'style-two' = "style-two", 'style-three' = "style-three" } export declare enum Type { filled = "filled", stroke = "stroke" } export declare enum Size { large = "large", small = "small" } interface INotchedTagProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> { /** Style variations. */ type?: keyof typeof Type; /** Size variations. */ size: keyof typeof Size; /** Tag style variations. */ tagStyle: keyof typeof TagStyle; } export declare const NotchedTag: { (props: INotchedTagProps): React.ReactElement; defaultProps: { size: Size; tagStyle: TagStyle; }; displayName: string; propTypes: { children: any; className: any; type: any; size: any; tagStyle: any; style: any; }; peek: { description: string; notes: { overview: string; intendedUse: string; technicalRecommendations: string; }; categories: string[]; }; }; export default NotchedTag;