refactor(all): data -> componentProps

This commit is contained in:
Manu Mtz.-Almeida
2018-03-29 18:18:02 +02:00
parent ce500858fe
commit a36913e9db
17 changed files with 115 additions and 119 deletions

View File

@ -56,7 +56,7 @@ export class Toast implements OverlayInterface {
* Additional classes to apply for custom CSS. If multiple classes are
* provided they should be separated by spaces.
*/
@Prop() cssClass: string;
@Prop() cssClass: string | string[];
/**
* If true, the toast will dismiss when the page changes. Defaults to `false`.
@ -226,7 +226,7 @@ export class Toast implements OverlayInterface {
export interface ToastOptions {
message?: string;
cssClass?: string;
cssClass?: string | string[];
duration?: number;
showCloseButton?: boolean;
closeButtonText?: string;