typings.d.ts 797 B

12345678910111213
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. export type NzJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'right' | 'left' | 'stretch' | 'normal';
  6. export type NzAlign = 'flex-start' | 'center' | 'flex-end' | 'start' | 'end' | 'stretch' | 'normal';
  7. export type NzGap = 'small' | 'middle' | 'large' | NzCustomGap;
  8. export type NzCustomGap = number | string;
  9. export type NzWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
  10. export type NzFlex = `${NzFlexShrink} ${NzFlexGrow} ${NzFlexBasis}` | 'unset';
  11. export type NzFlexShrink = number;
  12. export type NzFlexGrow = number;
  13. export type NzFlexBasis = string;