import React from 'react'
import { Icon } from '~components/Icon'
import { MenuHeading } from '../subcomponents/MenuHeading'
import { MenuItem } from '../subcomponents/MenuItem'
import { MenuList } from '../subcomponents/MenuList'
type MenuContentExampleProps = {
isShortList?: boolean
}
/**
* This is an mocked example of a Menu's children using all of the subcomponents.
*/
export const MenuContentExample = ({ isShortList }: MenuContentExampleProps): JSX.Element => (
<>
Links}>
{!isShortList && (
<>
Buttons}>
Buttons (no icons)}>
,
): void => {
e.preventDefault()
}}
label="Menu button no icons"
/>
,
): void => {
e.preventDefault()
}}
disabled
label="Disabled button no icon"
/>
>
)}
>
)