press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
19 lines (16 loc) • 532 B
TypeScript
import { addUnit } from './add-unit';
import { bem2, bem3 } from './bem';
import { memoize } from './memoize';
export declare const isNotInUni: () => boolean;
declare const innerDefault: {
bem: () => any;
memoize: typeof memoize;
addUnit: typeof addUnit;
bem2: typeof bem2;
bem3: typeof bem3;
};
export default innerDefault;
export declare function random(min: number, max: number): number;
export declare function updateElementStyle(element: {
style: Record<string, string>;
}, styles: Record<string, string>): void;