Skip to content

Instantly share code, notes, and snippets.

@hugoabernier hugoabernier/ClassificationHeader.tsx Secret
Last active Apr 21, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.