webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
36 lines (31 loc) • 740 B
text/typescript
import type { Snippet } from 'svelte'
import type { ButtonProps } from '../Button/button'
export type FooterProps = {
logo?: {
url?: string
alt?: string
width?: number
height?: number
eager?: boolean
html?: string
} | null
columns?: {
title?: string
items: {
href: string
name: string
target?: ButtonProps['target']
active?: boolean
}[]
}[]
subText?: string
className?: string
wrapperClassName?: string
subTextClassName?: string
}
export type SvelteFooterProps = {
children?: Snippet
} & FooterProps
export type ReactFooterProps = {
children?: React.ReactNode
} & FooterProps