UNPKG

flexium

Version:

A lightweight, signals-based UI framework with cross-platform renderers

22 lines (18 loc) 1.47 kB
export { b as batch, e as effect, d as onMount, r as root, u as untrack } from './canvas-BarP3tEC.js'; import { S as StateGetter, a as StateSetter } from './state-EWGQpL70.js'; export { c as clearGlobalState } from './state-EWGQpL70.js'; 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--dJ46B45.js'; export { P as Portal } from './portal-BGTCMKyS.js'; export { Link, LinkProps, Location, Outlet, Route, RouteDef, RouteMatch, RouteProps, Router, RouterContext, createLocation, matchPath, useRouter } from './router.js'; export { SetStoreFunction, createStore } from './store.js'; 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-CaoZsuqU.js'; import './renderer-CWYPPHmO.js'; /** * 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 };