-
-
Save hugoabernier/3f4233426a2240a2fbb3fcd3dc4501f0 to your computer and use it in GitHub Desktop.
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
import * as React from "react"; | |
import { IClassificationHeaderProps, | |
IClassificationHeaderState } from "./ClassificationHeader.types"; | |
import { MessageBar, | |
MessageBarType } from "office-ui-fabric-react/lib/MessageBar"; | |
import { Link } from "office-ui-fabric-react/lib/Link"; | |
export default class ClassificationHeader extends React.Component<IClassificationHeaderProps, IClassificationHeaderState> { | |
public render(): React.ReactElement<IClassificationHeaderProps> { | |
// for now, let's just render a static message bar, with a fake link | |
return ( | |
<MessageBar | |
messageBarType={ MessageBarType.warning } | |
> | |
This site is classified as MBI. <Link href="www.bing.com">Learn more about the proper handling procedures.</Link> | |
</MessageBar> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment