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

@ -59,7 +59,7 @@ export class Picker 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[];
/**
* Number of milliseconds to wait before dismissing the picker.
@ -341,14 +341,14 @@ function buttonClass(button: PickerButton): CssClassMap {
export interface PickerButton {
text?: string;
role?: string;
cssClass?: string;
cssClass?: string | string[];
handler?: (value: any) => boolean|void;
}
export interface PickerOptions {
buttons?: PickerButton[];
columns?: PickerColumn[];
cssClass?: string;
cssClass?: string | string[];
enableBackdropDismiss?: boolean;
}
@ -360,7 +360,7 @@ export interface PickerColumn {
prefix?: string;
suffix?: string;
options: PickerColumnOption[];
cssClass?: string;
cssClass?: string | string[];
columnWidth?: string;
prefixWidth?: string;
suffixWidth?: string;