ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
16 lines (15 loc) • 602 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
export interface NzSegmentedOption {
label: string;
value: string | number;
useTemplate?: boolean;
icon?: string;
disabled?: boolean;
className?: string;
}
export declare type NzSegmentedOptions = Array<NzSegmentedOption | string | number>;
export declare type NzNormalizedOptions = NzSegmentedOption[];
export declare function normalizeOptions(unnormalized: NzSegmentedOptions): NzNormalizedOptions;