semantic-styled-ui
Version:
Set of UI components based of Semantic UI with Styled Components
40 lines (36 loc) • 820 B
TypeScript
import * as React from "react"
export type NavigationLogoLogoSize = "small" | "base" | "large"
export interface NavigationLogoProps {
/**
* element type to render as (string or function)
* supports HTML tag as a string or React component definition
*
* @example
* 'div'
* 'section'
* ReactComponent
* Card
*/
as?: React.ElementType
/**
* anchor link (prefixed with "#") or standard href
*/
link?: string
/**
* required to support stacking logo
*/
stacked?: boolean
/**
* simple em based size
*/
logoSize?: NavigationLogoLogoSize
/**
* additional or pass thru classes for composition
*/
className?: string
/**
* primary content, usually a string
*/
children: React.ReactNode
}
declare const NavigationLogo: React.FC<NavigationLogoProps>