@kelvininc/ui-components
Version:
Kelvin UI Components
17 lines (16 loc) • 661 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
import { EIconName } from '../icon/icon.types';
export interface IInputWrapper {
/** Defines the state of the component */
contentVisible: boolean;
/** Defines if the content can be seen */
contentHidden?: boolean;
/** Label that is shown when the component is in Default state */
label?: string;
/** Icon that is displayed when the component is hovered and is in default state */
icon?: EIconName;
}
export interface IInputWrapperEvents {
/** Event emitted when the component is clicked to display the wrapped content*/
contentClick: EventEmitter<boolean>;
}