react-handless-ui
v0.1.0
Published
一个基于 React,面向开发者开发的无头组件库
Downloads
6
Maintainers
Readme
react-handless-ui
一个基于 React,面向开发者开发的无头组件库
灵感来自 Headless UI 和 React Hooks等,提供类似无头组件的写法,可以完全自定义UI。
如何使用?
npm install --save react-handless-ui
全局引入
import ReactHandlessUI from "react-handless-ui";
app.use(ReactHandlessUI);
单独引入
<script setup lang="ts">
import { UiRadioGroup, UiRadio } from "react-handless-ui";
</script>
或
<script setup lang="ts">
import UiRadioGroup from "react-handless-ui/src/RadioGroup";
import UiRadio from "react-handless-ui/src/Radio";
</script>
下面是具体的组件清单:
版权
MIT License
Copyright (c) zxl20070701 走一步,再走一步