mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
refactor: update UniversalSearch components with TypeScript and TextStatus
This commit is contained in:
@@ -10,12 +10,17 @@ const TextStatusRoot = styled.span`
|
||||
${(props) =>
|
||||
props.intent === 'warning' &&
|
||||
`
|
||||
color: #ec5b0a;`}
|
||||
color: #c87619;`}
|
||||
|
||||
${(props) =>
|
||||
props.intent === 'danger' &&
|
||||
`
|
||||
color: #f17377;`}
|
||||
|
||||
${(props) =>
|
||||
props.intent === 'success' &&
|
||||
`
|
||||
color: #2ba01d;`}
|
||||
color: #238551;`}
|
||||
|
||||
${(props) =>
|
||||
props.intent === 'none' &&
|
||||
|
||||
Reference in New Issue
Block a user