File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ export const Default = Template.bind({});
12
12
13
13
Default . args = {
14
14
backgroundImage : `https://images.unsplash.com/photo-1613487957484-32c977a8bd62?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1400&h=640&q=80` ,
15
+ string : `秋葉原` ,
15
16
} ;
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ import { useStyles } from "./makeStyles";
3
3
4
4
type MainImageProps = {
5
5
backgroundImage : string ;
6
+ name : string ;
6
7
} ;
7
8
8
9
function MainImage ( props : MainImageProps ) {
9
- const { backgroundImage } = props ;
10
+ const { backgroundImage, name } = props ;
10
11
11
12
const { classes, cx } = useStyles ( {
12
13
backgroundImage,
@@ -20,7 +21,7 @@ function MainImage(props: MainImageProps) {
20
21
</ div >
21
22
< div className = { cx ( classes . mainCopy ) } >
22
23
< Typography variant = "h1" className = { cx ( classes . text ) } >
23
- 秋葉原
24
+ { name }
24
25
</ Typography >
25
26
</ div >
26
27
</ div >
You can’t perform that action at this time.
0 commit comments