Files
remark42/web/app/components/dropdown/__item/dropdown__item.jsx
T
Igor AdamenkoandUmputun 6f1b9037d5 Dark theme (#228)
* add with-theme hoc

* add dark theme styles for components

* add toggle theme button to the dev demo page

* add info about widget themes to README
2018-12-15 17:10:41 -06:00

9 lines
227 B
React

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