mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
9aec72c395
* chore: remove useless tsx support * add * add * style * fix lint * fix lint * fix lint * update locale entry * update locale entry * update locale entry * delete useless style
7 lines
219 B
TypeScript
7 lines
219 B
TypeScript
import { PresetColorTypes } from '../_util/colors';
|
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
export function isPresetColor(color?: string): boolean {
|
|
return PresetColorTypes.includes(color as any);
|
|
}
|