UNPKG

@logo-rn/shared-utils

Version:

@logo-rn packages utils

41 lines (36 loc) 1.03 kB
export interface BaseButton { enabled?: boolean, buttonStyle?: any, buttonType?: string, mode?: "Text-Button" | "Transparent-Text-Button" | "Outlined" | "Transparent-Outlined" | undefined, displayMode?: "TextOnly" | "ImageOnly" | "ImageBeforeText" | "ImageAfterText" | "ImageBoth", fullWidth?: boolean, iconClass?: string, imageHeight?: number, imageWidth?: number, imageUrl?: string, size?: "Default" | "Small" | "Large", spacing?: { bottomSpacing?: boolean, topSpacing?: boolean, }, text?: string, textDisplay?: "Default" | "Trimmed", visibility?: boolean, id?: string, onClick: Function, isGrayBackground?: boolean, loading?: boolean } export enum DISPLAY_MODE { TEXT_ONLY = "TextOnly", IMAGE_ONLY = "ImageOnly", IMAGE_BEFORE_TEXT = "ImageBeforeText", IMAGE_AFTER_TEXT = "ImageAfterText", IMAGE_BOTH = "ImageBoth" } export enum SIZE { DEFAULT = "Default", SMALL = "Small", LARGE = "Large" }