Files
remark42/web/app/components/dropdown/__item/dropdown__item.jsx
T
Eldar AmantayandAleksei Gurianov 1d267f5db6 ISSUE-73: UI support for DeleteMe request
Closes #73

* Add the API post request deleteMe
* Add a trigger button
* Add an utils/email module with the template and window opener
* Add a dropdown component
* Add a button component
* Hide the user-id text and a logout bout in the dropdown
* Add a noop empty function to pass a default handler callback to components
2018-07-17 23:21:11 +04:00

9 lines
246 B
React

/** @jsx h */
import { h } from 'preact';
export default function DropdownItem(props) {
const { children, separator = false, mix, mods } = props;
return <div className={b('dropdown__item', { mix, mods }, { separator })}>{children}</div>;
}