回答編集履歴
1
fragmentの追加
answer
CHANGED
@@ -15,11 +15,13 @@
|
|
15
15
|
```jsx
|
16
16
|
const Buttons = (props) => {
|
17
17
|
return (
|
18
|
+
<>
|
18
|
-
|
19
|
+
{props.A
|
19
|
-
|
20
|
+
? <Button style={{...}}>
|
20
|
-
|
21
|
+
: <Button>
|
21
|
-
|
22
|
+
}
|
22
|
-
|
23
|
+
</Button>
|
24
|
+
</>
|
23
25
|
);
|
24
26
|
};
|
25
27
|
|