jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
21 lines (20 loc) • 912 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview A styled menu link item as its displayed on mobile. Style differes from desktop as it can
* provide a more clear active state due to the nature of touch events.
*/
import * as React from 'react';
export interface MenuLinkProps extends React.AnchorHTMLAttributes<HTMLLinkElement> {
/**
* The contents of the link.
*/
children: React.ReactNode | string;
}
/**
* Renders a link styled to be used as a navigation item as its displaye in mobile. The theme object will provide some basic styling for
* the element. Use this item in the main navigation of the website. It can differ from the desktop item menu as due to the nature of touch events
* providing a more clear "active" state can be useful.
*/
export declare const MobileMenuLink: React.ForwardRefExoticComponent<MenuLinkProps & React.RefAttributes<unknown>>;
export default MobileMenuLink;