UNPKG

@pomegranate-ui/maracuya-ui

Version:

Maracuya is a design system built with React, Typescript & emotion

27 lines (26 loc) 741 B
/** * File Name: Button */ /** @jsx jsx */ import React from 'react'; import { ICoreBase } from '../../core'; declare type Size = 'small' | 'medium' | 'large'; export interface Ibtn extends ICoreBase { id?: string; text?: string; ariaLabel?: string; color?: string; role?: string; size?: Size; isType?: string; inverted?: boolean; fullWidth?: boolean; bordered?: boolean; disableShadow?: boolean; isDisabled?: boolean; srOnly?: React.ReactNode; icon?: React.ReactNode; onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void; } export declare const Button: React.ForwardRefExoticComponent<Ibtn & React.RefAttributes<HTMLButtonElement>>; export {};