BackgroundVariant
这三种变体为了方便被导出为枚举。您可以导入枚举并像 BackgroundVariant.Lines 一样使用它,或者直接使用原始字符串值。
export enum BackgroundVariant {
  Lines = 'lines',
  Dots = 'dots',
  Cross = 'cross',
}这三种变体为了方便被导出为枚举。您可以导入枚举并像 BackgroundVariant.Lines 一样使用它,或者直接使用原始字符串值。
export enum BackgroundVariant {
  Lines = 'lines',
  Dots = 'dots',
  Cross = 'cross',
}