File tree 2 files changed +12
-5
lines changed 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,23 @@ import { Story } from "@storybook/react"
2
2
import { ServiceBannerView , ServiceBannerViewProps } from "./ServiceBannerView"
3
3
4
4
export default {
5
- title : "components/LicenseBannerView " ,
5
+ title : "components/ServiceBannerView " ,
6
6
component : ServiceBannerView ,
7
7
}
8
8
9
9
const Template : Story < ServiceBannerViewProps > = ( args ) => (
10
10
< ServiceBannerView { ...args } />
11
11
)
12
12
13
- export const GoodColor = Template . bind ( { } )
14
- GoodColor . args = {
13
+ export const Production = Template . bind ( { } )
14
+ Production . args = {
15
15
message : "weeeee" ,
16
- backgroundColor : "#00FF00" ,
16
+ backgroundColor : "#FFFFFF" ,
17
+ }
18
+
19
+ export const Preview = Template . bind ( { } )
20
+ Preview . args = {
21
+ message : "weeeee" ,
22
+ backgroundColor : "#000000" ,
23
+ preview : true ,
17
24
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import Switch from "@material-ui/core/Switch"
23
23
import { BlockPicker } from "react-color"
24
24
import { useTheme } from "@material-ui/core/styles"
25
25
import FormHelperText from "@material-ui/core/FormHelperText"
26
- import { Button } from "@material-ui/core"
26
+ import Button from "@material-ui/core/Button "
27
27
28
28
export const Language = {
29
29
messageLabel : "Message" ,
You can’t perform that action at this time.
0 commit comments