mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-10 22:45:11 +08:00
fix(text): fix redundant default color
This commit is contained in:
@@ -31,7 +31,7 @@ const defaultProps = {
|
||||
|
||||
const getTypeColor = (type: NormalTypes, palette: ZeitUIThemesPalette) => {
|
||||
const colors: { [key in NormalTypes]: string} = {
|
||||
default: palette.foreground,
|
||||
default: 'inherit',
|
||||
secondary: palette.secondary,
|
||||
success: palette.success,
|
||||
warning: palette.warning,
|
||||
|
||||
Reference in New Issue
Block a user