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