0.0.20 • Published 6 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
6 months ago
0.0.17
6 months ago
0.0.18
6 months ago
0.0.19
6 months ago
0.0.15
7 months ago
0.0.16
6 months ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years 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