diff --git a/app.tsx b/app.tsx
index 4271de7..b892c9d 100644
--- a/app.tsx
+++ b/app.tsx
@@ -1,9 +1,21 @@
+import { Tabs, TabsTrigger, TabsTriggerList } from '@/components'
import React, { useState } from 'react'
const App = () => {
- const [state, setValue] = useState(false)
+ const [state, setValue] = useState('')
- return
+ return (
+
+ )
}
export { App }
diff --git a/package.json b/package.json
index d2f6973..3d8a20e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@renderui/core",
- "version": "1.4.5",
+ "version": "1.4.6",
"private": false,
"description": "React UI library with highly modular and ready-out-of-the-box components",
"license": "MIT",
diff --git a/src/components/tabs/components/tabs-trigger.tsx b/src/components/tabs/components/tabs-trigger.tsx
index 293dc92..1af9b47 100644
--- a/src/components/tabs/components/tabs-trigger.tsx
+++ b/src/components/tabs/components/tabs-trigger.tsx
@@ -20,6 +20,7 @@ import { getHandleTriggerPress } from '@/components/tabs/utils/get-handdle-trigg
const TabsTrigger = React.forwardRef((props, ref) => {
const {
+ asChild,
value,
className,
children,
@@ -44,6 +45,7 @@ const TabsTrigger = React.forwardRef((props, r
return (
)
diff --git a/src/components/tabs/constants/constants.ts b/src/components/tabs/constants/constants.ts
index 9a8c0af..aef135d 100644
--- a/src/components/tabs/constants/constants.ts
+++ b/src/components/tabs/constants/constants.ts
@@ -34,7 +34,7 @@ const INACTIVE_TABS_TRIGGER_CLASSNAME =
'text-mode-contrast transition-[color] duration-fast data-[hover="true"]:data-[state="inactive"]:text-primary'
const DEFAULT_TABS_TRIGGER_CHILDREN_CONTAINER_CLASSNAME =
- 'absolute inset-0 z-[20] flex size-full items-center justify-center gap-3 text-[inherit]'
+ 'absolute inset-0 z-[2] flex size-full items-center justify-center gap-3 text-[inherit]'
export {
DEFAULT_TABS_CLASSNAME,