import React from "react";
import { useRootElement } from "../context";
import * as styles from "./styles";
import { Slider as SliderComponent } from "~/sdks/LocalContent/components/Slider";
export function Slider({ children }) {
    const { activeScore, isExpanded } = useRootElement();
    return (React.createElement(SliderComponent, { isOpen: isExpanded && !!activeScore, className: styles.container }, children));
}
//# sourceMappingURL=index.js.map