-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TRELLO-2611] Change information panel when consumer share / doesn't …
…share data (#928)
- Loading branch information
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
website/src/components_feature/reportFlow/Consumer/ConsumerShareInformation.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {useI18n} from '@/i18n/I18n' | ||
import {Animate} from '@/components_simple/Animate' | ||
import {alertWarningBackgroundColor, alertWarningTextColor} from '@/components_simple/ScAlert' | ||
|
||
export function ConsumerShareInformation() { | ||
const {m} = useI18n() | ||
return ( | ||
<Animate> | ||
<div> | ||
<div className="py-4 px-8" style={{background: alertWarningBackgroundColor, color: alertWarningTextColor}}> | ||
<p className="mb-0">{m.consumerShareInformation}</p> | ||
</div> | ||
</div> | ||
</Animate> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters