-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #888 from mapswipe/master-rc
Release Footprint validation Changes
- Loading branch information
Showing
103 changed files
with
5,624 additions
and
1,423 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
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
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
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
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
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,39 @@ | ||
import React from 'react'; | ||
import { IoAlertCircleOutline } from 'react-icons/io5'; | ||
import { _cs } from '@togglecorp/fujs'; | ||
|
||
import Heading from '#components/Heading'; | ||
|
||
import styles from './styles.css'; | ||
|
||
interface Props { | ||
className?: string; | ||
title?: React.ReactNode; | ||
children: React.ReactNode; | ||
} | ||
|
||
function AlertBanner(props: Props) { | ||
const { | ||
className, | ||
children, | ||
title, | ||
} = props; | ||
|
||
return ( | ||
<div className={_cs(styles.banner, className)}> | ||
<div className={styles.bannerIcon}> | ||
<IoAlertCircleOutline /> | ||
</div> | ||
<div className={styles.container}> | ||
{title && ( | ||
<Heading> | ||
{title} | ||
</Heading> | ||
)} | ||
{children} | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default AlertBanner; |
Oops, something went wrong.