@gravity-ui/uikit
Version:
Gravity UI base styling and components
11 lines (10 loc) • 545 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { ChevronDown } from '@gravity-ui/icons';
import { Icon } from "../Icon/index.js";
import { block } from "../utils/cn.js";
import "./ArrowToggle.css";
const b = block('arrow-toggle');
export function ArrowToggle({ size = 16, direction = 'bottom', className, qa }) {
return (_jsx("span", { style: { width: size, height: size }, className: b({ direction }, className), "data-qa": qa, children: _jsx(Icon, { data: ChevronDown, size: size }) }));
}
//# sourceMappingURL=ArrowToggle.js.map