-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
33 lines (28 loc) · 847 Bytes
/
main.js
File metadata and controls
33 lines (28 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// @flow
import React from 'react'
import Pane, { Section } from './pane'
import Button from './button'
class Main extends React.Component {
render() {
return (
<Pane>
<Section title="Something">
<Section title="Something" sub collapsable>
Collapse me up
<Button color="green">Test this button</Button>
<Button color="red">Test this button</Button>
<Button bordered color="yellow">Test this button</Button>
<Button bordered color="red">Test this button</Button>
</Section>
<Section title="Something" sub collapsable>
Collapse me up
</Section>
<Section title="Something" sub collapsable>
Collapse me up
</Section>
</Section>
</Pane>
)
}
}
export default Main