monday-ui-react-core
Version:
Official monday.com UI resources for application development in React.js
28 lines (26 loc) • 803 B
JSX
import React, { useMemo } from "react";
import { RelatedComponent } from "vibe-storybook-components";
import AlertBanner from "../../../../components/AlertBanner/AlertBanner";
import AlertBannerText from "../../../../components/AlertBanner/AlertBannerText/AlertBannerText";
export const AlertBannerDescription = () => {
const component = useMemo(() => {
const style = {
width: "90%"
};
return (
<div style={style}>
<AlertBanner>
<AlertBannerText text="Alert banner message" />
</AlertBanner>
</div>
);
}, []);
return (
<RelatedComponent
component={component}
title="AlertBanner"
href="/?path=/docs/feedback-alertbanner--docs"
description="Noticed high-signal messages, such as system alerts."
/>
);
};