mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
a9ded36b57
- 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;
|