Initial RTL storefront with header, slider, product sections, and local image assets. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
type PlaceholderProps = {
|
|
src: string;
|
|
alt?: string;
|
|
className?: string;
|
|
};
|
|
|
|
export function Placeholder({ src, alt = "", className }: PlaceholderProps) {
|
|
return (
|
|
// eslint-disable-next-line @next/next/no-img-element
|
|
<img src={src} alt={alt} className={className} />
|
|
);
|
|
}
|