23 lines
456 B
TypeScript
23 lines
456 B
TypeScript
interface DishIconType {
|
|
className?: string;
|
|
onClick?: () => void;
|
|
}
|
|
|
|
const DishIcon = ({ className, onClick }: DishIconType) => {
|
|
return (
|
|
<svg
|
|
width="28"
|
|
height="28"
|
|
viewBox="0 0 28 28"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
className={className}
|
|
onClick={onClick}
|
|
>
|
|
<rect x="0.5" y="0.5" width="27" height="27" rx="13.5" stroke="#DDD" />
|
|
</svg>
|
|
);
|
|
};
|
|
|
|
export default DishIcon;
|