UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

24 lines (23 loc) 839 B
/** * @file index.tsx * * @fileoverview A styled menu link item. */ import * as React from 'react'; export interface MenuLinkProps extends React.ButtonHTMLAttributes<HTMLLinkElement> { /** * The contents of the link. */ children: React.ReactNode | string; /** * The link where the item points to. */ href?: string; } /** * Renders a link styled to be used as a navigation item. The theme object will provide some basic styling for * the element. Use this item in the main navigation of the website. it can also be used elsewhere as long as it needs to keep consistency * wit the main menu navigation which is the main purpose of the style of the component. */ export declare const MenuLink: React.ForwardRefExoticComponent<MenuLinkProps & React.RefAttributes<unknown>>; export default MenuLink;