UNPKG

semantic-styled-ui

Version:

Set of UI components based of Semantic UI with Styled Components

34 lines (31 loc) 698 B
import * as React from "react" export interface NavigationItemProps { /** * 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 /** * formatted with active indicator */ pointing?: boolean /** * required to support stacking logo */ stacked?: boolean /** * primary content, usually string, used as link if link not provided */ children: React.ReactNode } declare const NavigationItem: React.FC<NavigationItemProps>