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)

21 lines (20 loc) 912 B
/** * @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;