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
9 lines
246 B
React
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>;
|
|
}
|