/
githubmirror
/
element
Обзор
Документация
Войти
/
githubmirror
/
element
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
types/result.d.ts
33 строки
682 B
好多大米
Result: add result component (#21171)
21 июл 2021, 10:20
Не верифицирован
21 июл 2021, 10:20
09e789b
Код
Авторство
О чём код?
import { ElementUIComponent } from './component' import { VNode } from 'vue' interface ElResultSlots { /* title slot: custom title */ title: VNode[] /* icon slot: custom icon */ icon: VNode[] /* subTitle slot: custom sub title */ subTitle: VNode[] /* extra slot: custom extra area, display on the top right */ extra: VNode[] [key: string]: VNode[] } /** Used to give feedback on the result of user's operation or access exception. **/ export declare class ElResult extends ElementUIComponent { /* title */ title: string /* sub title */ subTitle: string /* icon type */ icon: 'success' | 'warning' | 'info' | 'error' $slots: ElResultSlots }