@zendeskgarden/container-splitter
Version:
Containers relating to Splitter in the Garden Design System
10 lines (9 loc) • 544 B
TypeScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { IUseSplitterProps, IUseSplitterReturnValue } from './types';
export declare const KEYBOARD_STEP = 48;
export declare const useSplitter: <T extends HTMLElement = HTMLElement>({ idPrefix, environment, isFixed, min, max, orientation, keyboardStep, defaultValueNow, valueNow, onChange, separatorRef, isLeading, rtl }: IUseSplitterProps<T>) => IUseSplitterReturnValue;