Skip to content

Instantly share code, notes, and snippets.

@hugoabernier
Last active April 21, 2018 19:17
Show Gist options
  • Save hugoabernier/3f4233426a2240a2fbb3fcd3dc4501f0 to your computer and use it in GitHub Desktop.
Save hugoabernier/3f4233426a2240a2fbb3fcd3dc4501f0 to your computer and use it in GitHub Desktop.
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