Skip to content

Commit

Permalink
fix(Input): Fixed suffix not changing color with status (ant-design#4…
Browse files Browse the repository at this point in the history
…0344)

Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
  • Loading branch information
2 people authored and RedJue committed Apr 25, 2023
1 parent 13b4870 commit 495d8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/input/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const genStatusStyle = (token: InputToken, parentCls: string): CSSObject
),
},

[`${componentCls}-prefix`]: {
[`${componentCls}-prefix, ${componentCls}-suffix`]: {
color: colorError,
},
},
Expand All @@ -128,7 +128,7 @@ export const genStatusStyle = (token: InputToken, parentCls: string): CSSObject
),
},

[`${componentCls}-prefix`]: {
[`${componentCls}-prefix, ${componentCls}-suffix`]: {
color: colorWarning,
},
},
Expand Down

0 comments on commit 495d8cc

Please sign in to comment.