Skip to content

pantoken / react

react

प्रयोगात्मक

@pantoken/react — हल्के React सहायक जो @pantoken/web-components और टोकन CSS पर आधारित हैं।

  • <Icon> renders the <instui-icon> custom element (React 19 passes props to custom elements).
  • useToken reads a resolved --instui-* value at runtime (SSR-safe: returns the fallback on the server).
  • <TokenProvider> registers the elements and is where an app can inject the stylesheet.

इंटरफेस

फंक्शन्स

संदर्भ

register

register को पुनः-निर्यात करता है


registerLocalized

registerLocalized को पुनः-निर्यात करता है