-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fcd9f64
commit 6c600bd
Showing
3 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@use "usa-alert"; |
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,17 @@ | ||
import React from "react"; | ||
import { SiteAlert } from "@trussworks/react-uswds"; | ||
import './index.scss'; | ||
|
||
export default function Announcement() { | ||
return <SiteAlert slim variant='emergency'>Alert</SiteAlert>; | ||
} | ||
|
||
// return (<div className='usa-alert usa-alert--info usa-alert--no-icon'> | ||
// <div className='usa-alert__body'> | ||
// <p className='usa-alert__text'> | ||
// Lorem ipsum dolor sit amet, | ||
// <a className='usa-link' >consectetur adipiscing</a> | ||
// elit, sed do eiusmod. | ||
// </p> | ||
// </div> | ||
// </div>); |
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