All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.tabs.use-tabs.d.cts Maven / Gradle / Ivy

import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as tabs from '@zag-js/tabs';
export interface UseTabsProps extends Optional, 'id'> {
    /**
     * The initial value of the tabs when it is first rendered.
     * Use when you do not need to control the state of the tabs.
     */
    defaultValue?: tabs.Context['value'];
}
export interface UseTabsReturn extends tabs.Api {
}
export declare const useTabs: (props?: UseTabsProps) => UseTabsReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy