apphouse
Version:
Component library for React that uses observable state management and theme-able components.
17 lines (16 loc) • 586 B
TypeScript
import { CSSProperties } from 'glamor';
import { ButtonStyleVariant } from '../styles/defaults/themes.interface';
import React from 'react';
import { SelectProps, SelectStyles } from './Select';
export interface ButtonSelectStyle extends SelectStyles {
wrapper?: CSSProperties;
}
export interface ButtonSelectOption {
label: string;
value: string;
}
export interface ButtonSelectProps extends SelectProps {
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
variant?: keyof ButtonStyleVariant;
}
export declare const ButtonSelect: React.FC<ButtonSelectProps>;