/
githubmirror
/
element
Обзор
Документация
Войти
/
githubmirror
/
element
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
types/alert.d.ts
31 строка
674 B
hetech
Alert: update type definition (#15186)
19 апр 2019, 07:11
Не верифицирован
19 апр 2019, 07:11
52959d0
Код
Авторство
О чём код?
import { ElementUIComponent } from './component' export type AlertType = 'success' | 'warning' | 'info' | 'error' export type AlertEffect = 'dark' | 'light' /** Alert Component */ export declare class ElAlert extends ElementUIComponent { /** Title */ title: string /** Component type */ type: AlertType /** Descriptive text. Can also be passed with the default slot */ description: string /** If closable or not */ closable: boolean /** whether to center the text */ center: boolean /** Customized close button text */ closeText: string /** If a type icon is displayed */ showIcon: boolean /** Choose effect */ effect: AlertEffect }