0.0.20 • Published 5 months ago
@yanqirenshi/manipulater v0.0.20
MenuBook
サイドメニュー的な。
Usage
<Operators operators={operators}
window_size={window_size}
actions={actions}
leafs={root=> <Leafs root={root}/>}/>
import React from 'react';
import Github from './operators/Githubjs';
import Links from './operators/Links.js';
import Search from './operators/Search.js';
import Other from './operators/Other.js';
export default function Leafs (props) {
const root = props.root;
if ('search'===root.code)
return <Search root={root}/>;
if ('links'===root.code)
return <Links root={root}/>;
if ('github'===root.code)
return <Github root={root}/>;
return <Other root={root}/>;
}
0.0.20
5 months ago
0.0.17
5 months ago
0.0.18
5 months ago
0.0.19
5 months ago
0.0.15
6 months ago
0.0.16
5 months ago
0.0.14
11 months ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.10
1 year ago
0.0.11
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago