@kitn.ai/ui
Version:
Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.
2 lines (1 loc) • 486 B
JavaScript
import{s as e,k as i,m as l,i as s,t as c}from"./define-CNSKFZCd.js";import{c as d}from"./cn-CU7UAWzk.js";var f=c("<div tabindex=0>");function v(t){const[o,a]=e(t,["children","class","orientation"]),n=()=>o.orientation==="horizontal"?"overflow-x-auto overflow-y-hidden":o.orientation==="both"?"overflow-auto":"overflow-y-auto overflow-x-hidden";return(()=>{var r=f();return i(r,l({get class(){return d(n(),"scrollbar-thin",o.class)}},a),!1,!0),s(r,()=>o.children),r})()}export{v as S};