react-feather#AlertOctagon TypeScript Examples
The following examples show how to use
react-feather#AlertOctagon.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InvalidSwarmHash.tsx From gateway-ui with BSD 3-Clause "New" or "Revised" License | 6 votes |
export default function InvalidSwarmHash(): ReactElement {
return (
<LayoutContent>
<AlertOctagon size={48} strokeWidth={0.5} />
<Typography variant="subtitle1">{text.invalidSwarmHash.header}</Typography>
<Typography variant="body2">{text.invalidSwarmHash.description}</Typography>
</LayoutContent>
)
}
Example #2
Source File: UnknownFile.tsx From gateway-ui with BSD 3-Clause "New" or "Revised" License | 6 votes |
export default function UnknownFile(): ReactElement {
return (
<LayoutContent>
<AlertOctagon size={48} strokeWidth={0.5} />
<Typography variant="subtitle1">{text.unknownFile.header}</Typography>
<Typography variant="body2">{text.unknownFile.description}</Typography>
</LayoutContent>
)
}
Example #3
Source File: Page404.tsx From gateway-ui with BSD 3-Clause "New" or "Revised" License | 6 votes |
Page404 = (): ReactElement => {
const classes = useStyles()
const navigate = useNavigate()
return (
<Layout
top={[
<Header key="top1">
<Logo />
</Header>,
]}
center={[
<Paper key="center" square elevation={0} className={classes.root}>
<AlertOctagon size={48} strokeWidth={0.5} />
<Typography variant="subtitle1">{text.page404.header}</Typography>
<Typography variant="body2">{text.page404.description}</Typography>
</Paper>,
]}
bottom={[
<Footer key="bottom">
<Button
variant="contained"
className={classes.button}
onClick={() => {
navigate(ROUTES.LANDING_PAGE)
}}
size="large"
>
<ArrowLeft strokeWidth={1} />
{text.page404.goBackAction}
<ArrowLeft style={{ opacity: 0 }} />
</Button>
</Footer>,
]}
/>
)
}