mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
58 lines
2.4 KiB
TypeScript
58 lines
2.4 KiB
TypeScript
/**
|
|
* Navigation Icons - Material Design
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
size?: number;
|
|
}
|
|
|
|
export const MenuIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ArrowBackIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ArrowForwardIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ChevronLeftIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ChevronRightIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ChevronDownIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const ChevronUpIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z"/>
|
|
</svg>
|
|
);
|
|
|
|
export const CloseIcon: React.FC<IconProps> = ({ size = 24, ...props }) => (
|
|
<svg xmlns="http://www.w3.org/2000/svg" height={size} viewBox="0 0 24 24" width={size} fill="currentColor" {...props}>
|
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/>
|
|
</svg>
|
|
);
|