import { jsx as _jsx } from "react/jsx-runtime";
import React from 'react';
import Icon from '../icon';
const names = {
    horizontal: {
        collapsed: 'falChevronRight',
        expanded: 'falChevronLeft',
    },
    vertical: {
        collapsed: 'falChevronDown',
        expanded: 'falChevronUp',
    },
};
const AccordionItemArrow = ({ collapsed, color = 'sandstone.10', disabled = false, orientation = 'vertical', ...rest }) => (_jsx(Icon, { name: names[orientation][collapsed ? 'collapsed' : 'expanded'], opacity: disabled ? 0.5 : 1, pathFill: color, size: "sm", ...rest }));
export default React.memo(AccordionItemArrow);
//# sourceMappingURL=accordionItemArrow.js.map