fixed inverted, selection

This commit is contained in:
snoop 2017-07-17 12:40:17 +09:00
parent cbfe135400
commit 0d841948aa
2 changed files with 7 additions and 2 deletions

View File

@ -31,10 +31,15 @@ export class Tree extends React.Component<any, any> {
return ( return (
<Container> <Container>
{jsonData.map((data: any) => {
})}
<List> <List>
<List.Item selection> <List.Item >
<Label basic onClick={() => { <Label basic onClick={() => {
this.setState({ tt: !this.state.tt }); this.setState({ tt: !this.state.tt });
}}>Host</Label> }}>Host</Label>

View File

@ -14,7 +14,7 @@ export class LeftMenu extends React.Component<any, any> {
render() { render() {
return ( return (
<Container fluid inverted> <Container fluid >
<Segment inverted> <Segment inverted>
<Menu inverted secondary vertical fluid icon='labeled'> <Menu inverted secondary vertical fluid icon='labeled'>