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

package.dist.components.splitter.use-splitter.d.ts Maven / Gradle / Ivy

import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as splitter from '@zag-js/splitter';
export interface UseSplitterProps extends Optional, 'id'> {
    /**
     * The initial size of the panels when it is first rendered.
     * Use this when you do not need to control the state of the carousel.
     */
    defaultSize?: splitter.Context['size'];
}
export interface UseSplitterReturn extends splitter.Api {
}
export declare const useSplitter: (props?: UseSplitterProps) => UseSplitterReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy