LogoProps
import { type LogoProps} from '@/components/blocks/types.ts';
export type LogoProps = {
type: 'svg' | 'img';
data: string;
link?: string;
alt?: string;
}
Props
The LogoProps type accepts the following props
Required Props
- type (
svg|img)- Description: format of a logo
- data (
string)- Description: if it's an
svg- enter it's data here. if animg- href source
- Description: if it's an
- link (
string)- Description: makes logo clickable, url
- alt (
string)- Description:
altforimg
- Description: