;
vertical: boolean;
}
/**
* The `SliderContainer` component is mostly an internal component that is
* built-in to the `Slider` and `RangeSlider` components to add addons to the
* left or right of the `SliderTrack`. When vertical, it will add addons to the
* bottom or top instead.
*
* @internal
* @since 2.5.0
* @since 6.0.0 Removed the `label` support since you'll generally want to use
* a `Fieldset` instead.
*/
export function SliderContainer(props: SliderContainerProps): ReactElement {
const {
ref,
className,
children,
beforeAddon,
afterAddon,
vertical,
...remaining
} = props;
return (
{beforeAddon}
{children}
{afterAddon}
);
}