mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 23:29:57 +08:00

- Use JSX for templates - Docblock/comment everything - Mostly passes ESLint (still some work to do) - Lots of renaming, refactoring, etc. CSS hasn't been updated yet.
15 lines
259 B
JavaScript
15 lines
259 B
JavaScript
import Component from 'flarum/Component';
|
|
|
|
/**
|
|
* The `Separator` component defines a menu separator item.
|
|
*/
|
|
class Separator extends Component {
|
|
view() {
|
|
return <li className="divider"/>;
|
|
}
|
|
}
|
|
|
|
Separator.isListItem = true;
|
|
|
|
export default Separator;
|