UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

18 lines (17 loc) 828 B
import React from 'react'; import { SelectProps, SelectStyles } from './Select'; import { InputProps } from './input/input.interface'; import { ApphouseComponent } from './component.interfaces'; import { InputComponentStyles } from './input/input.styles.interface'; import { InputStyles } from '../styles/defaults/themes.interface'; export interface InputSelectStyles { input?: InputComponentStyles; select?: SelectStyles; } export interface InputSelectProps extends Omit<InputProps, 'styleOverwrites' | 'onChange' | 'size' | 'value' | 'variant'>, Omit<SelectProps, 'styleOverwrites' | 'variant' | 'size'>, ApphouseComponent<InputSelectStyles> { variant?: keyof InputStyles; } /** * A wrapper on the select component that adds label and description */ export declare const InputSelect: React.FC<InputSelectProps>;