UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

21 lines (20 loc) 871 B
import * as React from 'react'; import { ButtonProps } from 'rebass'; import { ReactNode } from 'react'; import { AccessLevel } from '../../AdaptableState/Common/Entitlement'; import { AdaptableIcon } from '../../AdaptableState/Common/AdaptableIcon'; export declare const baseClassName = "ab-SimpleButton"; export interface SimpleButtonProps extends Omit<ButtonProps, 'ref'> { tooltip?: string; variant?: 'text' | 'outlined' | 'raised'; tone?: 'success' | 'error' | 'neutral' | 'none' | 'warning' | 'info' | 'accent'; icon?: string | AdaptableIcon | ReactNode; iconSize?: number; iconPosition?: 'start' | 'end'; disabled?: boolean; accessLevel?: AccessLevel; } declare const SimpleButton: React.ForwardRefExoticComponent<SimpleButtonProps & { children?: React.ReactNode; } & React.RefAttributes<unknown>>; export default SimpleButton;