import classNames from 'classnames';
export interface ArrowStyleProps {
borderX?: number;
borderTop?: number;
borderBottom?: number;
up?: boolean;
}
export const RotatingArrow = ({
borderX = 4,
borderBottom = 4,
up = true,
}: ArrowStyleProps) => {
const arrowClassName = `w-0 h-0 border-b-currentColor-dark dark:border-b-currentColor`;
return (
);
};
export const ArrowUp = ({ borderX = 4, borderBottom = 4 }: ArrowStyleProps) => (
);
export const ArrowDown = ({ borderX = 4, borderTop = 4 }: ArrowStyleProps) => (
);
// Arrow
export interface ArrowProps {
value: number | bigint;
}
export const Arrow = ({ value }: ArrowProps) =>
value === 0 ? null : value > 0 ? : ;