Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@radix-ui/react-tabs.ts>TabsProps

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface TabsProps
implements PrimitiveDivProps
import { type TabsProps } from "https://deno.land/x/netzo@0.5.67/deps/@radix-ui/react-tabs.ts";

Properties

optional
value: string

The value for the selected tab, if controlled

optional
defaultValue: string

The value of the tab to select by default, if uncontrolled

optional
onValueChange: (value: string) => void

A function called when a new tab is selected

optional
orientation: RovingFocusGroupProps["orientation"]

The orientation the tabs are layed out. Mainly so arrow navigation is done accordingly (left & right vs. up & down)

optional
dir: RovingFocusGroupProps["dir"]

The direction of navigation between toolbar items.

optional
activationMode: "automatic" | "manual"

Whether a tab is activated automatically or manually.