安利一個本身寫的組件庫,歡迎你們指正,star來者不拒,pr也多多益善!react
更多內容請移步Github, thanks!git
Yoshino本質上相似於Hexo,不一樣的主題組件相似於Hexo的各類theme,hexo官方僅提供了一套工具以及一個基礎主題,Yoshino也是如此。github
開發者只須要結合yoshino-cli就能像配置Hexo主題同樣輸出不一樣風格的組件。npm
而不一樣主題的Yoshino須要開源社區完成,官方提供相似的yoshino-theme-site來展現不一樣的主題,相似於hexojs/sitehexo
TypeScript
開發,提供d.ts
文件幫助開發者提升開發速度除了簡單通用的ui
組件,yoshino
抽離出了一些易用性比較高的特效(功能)組件,例如工具
npm install yoshino
import * as React from 'react'; import { Button } from 'yoshino'; export default function () { return ( <div> <Button type="primary">Primary</Button> <Button>Default</Button> <Button type="dashed">Dashed</Button> <Button type="danger">Danger</Button> </div> ) }