@skiyee/uni-ui
Version:
一个由原子化CSS驱动、符合直觉设计、高度定制化、面向AI时代的移动端 UI 库,助力开发者打造独特且差异化的移动端应用程序
80 lines (79 loc) • 1.41 kB
TypeScript
//! @unocss-include
/**
* @skiyee/uni-ui v1.0.0
* @author skiyee(https://github.com/skiyee)
* @license Apache License 2.0
* @copyright 2025-present skiyee All rights reserved.
**/
import * as _skiyee_ucv10 from "@skiyee/ucv";
import { InferProps } from "@skiyee/ucv";
//#region src/styles/sk-switch.d.ts
declare const SkSwitchUcv: _skiyee_ucv10.MultiElementComponent<{
root: string;
track: string;
thumb: string;
thumbIcon: string;
label: string;
}, {
selected: {
true: {
thumb: string;
};
false: {
track: string;
thumb: string;
};
};
color: {
brand: {
track: string;
thumb: string;
};
success: {
track: string;
thumb: string;
};
warning: {
track: string;
thumb: string;
};
danger: {
track: string;
thumb: string;
};
neutral: {
track: string;
thumb: string;
};
};
size: {
small: {
root: string;
track: string;
thumb: string;
};
medium: {
root: string;
track: string;
thumb: string;
};
large: {
root: string;
track: string;
thumb: string;
};
};
readonly: {
true: {
root: string;
};
};
disabled: {
true: {
root: string;
};
};
}>;
type SkSwitchUcvProps = InferProps<typeof SkSwitchUcv>;
//#endregion
export { SkSwitchUcv, SkSwitchUcvProps };