jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
24 lines (23 loc) • 839 B
TypeScript
/**
* @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;