0.0.12 • Published 3 months ago

@yanqirenshi/manipulater v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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.12

3 months ago

0.0.10

3 months ago

0.0.11

3 months ago

0.0.9

3 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago