@open-tender/ui
Version:
A component library for use with the Open Tender web app
15 lines (14 loc) • 532 B
TypeScript
import React from 'react';
import { ElementIcon, Styles } from '../types';
declare const Button: ({ className, classes, style, text, icon, iconDisplay, disabled, children, onClick }: {
className: string;
classes?: string | undefined;
style?: Styles | undefined;
text?: string | undefined;
iconDisplay?: ElementIcon | undefined;
icon?: React.ReactNode;
disabled?: boolean | undefined;
children?: React.ReactNode;
onClick?: (() => void) | undefined;
}) => React.JSX.Element;
export default Button;