flexium
Version:
A lightweight, signals-based UI framework with cross-platform renderers
22 lines (18 loc) • 1.48 kB
text/typescript
export { b as batch, e as effect, d as onMount, r as root, u as untrack } from './canvas-BarP3tEC.cjs';
import { S as StateGetter, a as StateSetter } from './state-EWGQpL70.cjs';
export { c as clearGlobalState } from './state-EWGQpL70.cjs';
export { C as Context, F as For, M as Match, S as Show, b as Suspense, a as Switch, c as createContext, u as useContext } from './suspense-D9YtMuAn.cjs';
export { P as Portal } from './portal-BGTCMKyS.cjs';
export { Link, LinkProps, Location, Outlet, Route, RouteDef, RouteMatch, RouteProps, Router, RouterContext, createLocation, matchPath, useRouter } from './router.cjs';
export { SetStoreFunction, createStore } from './store.cjs';
export { A as Arc, q as ArcProps, C as Canvas, r as CanvasProps, c as CanvasText, o as CanvasTextProps, a as Circle, l as CircleProps, i as CommonStyle, I as Image, f as ImageProps, L as Line, p as LineProps, b as Path, m as PathProps, P as Pressable, g as PressableProps, R as Rect, k as RectProps, S as ScrollView, h as ScrollViewProps, T as Text, e as TextProps, j as TextStyle, V as View, d as ViewProps, n as normalizeStyle } from './utils-BMB3Vuxf.cjs';
import './renderer-CWYPPHmO.cjs';
/**
* Flexium - Next-generation UI/UX library
*
* Core exports for signal-based reactivity system
*/
declare function state<T>(initialValueOrFetcher: T | ((...args: any[]) => T | Promise<T>), options?: {
key?: string;
}): [StateGetter<T>, StateSetter<T>];
export { StateGetter, StateSetter, state };