/
githubmirror
/
ionic
Обзор
Документация
Войти
/
githubmirror
/
ionic
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/react/src/components/react-component-lib/interfaces.ts
34 строки
798 B
William Martin
refactor(react): transition to Stencil React bindings (#23826)
01 сен 2021, 00:29
Не верифицирован
01 сен 2021, 00:29
1680b0c
Код
Авторство
О чём код?
// General types important to applications using stencil built components export interface EventEmitter<T = any> { emit: (data?: T) => CustomEvent<T>; } export interface StyleReactProps { class?: string; className?: string; style?: { [key: string]: any }; } export interface OverlayEventDetail<T = any> { data?: T; role?: string; } export interface OverlayInterface { el: HTMLElement; animated: boolean; keyboardClose: boolean; overlayIndex: number; presented: boolean; enterAnimation?: any; leaveAnimation?: any; didPresent: EventEmitter<void>; willPresent: EventEmitter<void>; willDismiss: EventEmitter<OverlayEventDetail>; didDismiss: EventEmitter<OverlayEventDetail>; present(): Promise<void>; dismiss(data?: any, role?: string): Promise<boolean>; }