mirror of
https://github.com/flarum/framework.git
synced 2025-02-19 07:13:24 +08:00

- Get rid of Bootstrap (except we still rely on some JS) - Use BEM class names - Rework variables/theme config - Fix various bugs, including some on mobile The CSS is still not ideal – it needs to be cleaned up some more. But that can be a focus for after beta.
15 lines
270 B
JavaScript
15 lines
270 B
JavaScript
import Component from 'flarum/Component';
|
|
|
|
/**
|
|
* The `Separator` component defines a menu separator item.
|
|
*/
|
|
class Separator extends Component {
|
|
view() {
|
|
return <li className="Dropdown-separator"/>;
|
|
}
|
|
}
|
|
|
|
Separator.isListItem = true;
|
|
|
|
export default Separator;
|