PHP Classes

File: src/components/jobs/ListItemMenu.tsx

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/components/jobs/ListItemMenu.tsx   Download  
File: src/components/jobs/ListItemMenu.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 919 bytes
 

Contents

Class file image Download
/** * External dependencies. */ import { Menu } from '@headlessui/react'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faEllipsisV } from '@fortawesome/free-solid-svg-icons'; import { __ } from '@wordpress/i18n'; interface IListItemMenu { /** * Email template id. */ id: number; } export default function ListItemMenu({ id }: IListItemMenu) { return ( <Menu as="div" className="relative inline-block text-left"> <div> <Menu.Button className="inline-flex justify-center w-full pr-3 pl-0 py-2 text-sm font-medium"> <FontAwesomeIcon icon={faEllipsisV} color={'#ddd'} className="mr-1" /> </Menu.Button> </div> {/* Todo: Add this functionality later */} </Menu> ); }