Create orange PageSection

This commit is contained in:
Aarni Halinen
2018-11-17 15:07:31 +02:00
parent ebba39f16f
commit fe50ab9685
3 changed files with 13 additions and 2 deletions
@@ -20,4 +20,9 @@
background-color: $white;
color: $dark-blue;
}
&.orange {
background-color: $orange1;
color: $white;
}
}
@@ -4,6 +4,7 @@ import "./PageSection.scss";
export enum BackgroundColor {
DarkBlue,
White,
Orange,
}
export interface PageSectionProps {
@@ -14,6 +15,7 @@ export interface PageSectionState {}
const colors = new Map<BackgroundColor, string>([
[BackgroundColor.DarkBlue, "dark-blue"],
[BackgroundColor.White, "white"],
[BackgroundColor.Orange, "orange"],
]);
class PageSection extends React.Component<PageSectionProps, PageSectionState> {