mirror of
https://github.com/flarum/core.git
synced 2025-10-11 15:04:25 +02:00
Use Link component for links instead of mithril route patch (#2315)
This new component now also supports external links.
This commit is contained in:
committed by
GitHub
parent
b66d16e44b
commit
5ecb74fb59
@@ -47,6 +47,7 @@ import FieldSet from './components/FieldSet';
|
||||
import Select from './components/Select';
|
||||
import Navigation from './components/Navigation';
|
||||
import Alert from './components/Alert';
|
||||
import Link from './components/Link';
|
||||
import LinkButton from './components/LinkButton';
|
||||
import Checkbox from './components/Checkbox';
|
||||
import SelectDropdown from './components/SelectDropdown';
|
||||
@@ -118,6 +119,7 @@ export default {
|
||||
'components/Select': Select,
|
||||
'components/Navigation': Navigation,
|
||||
'components/Alert': Alert,
|
||||
'components/Link': Link,
|
||||
'components/LinkButton': LinkButton,
|
||||
'components/Checkbox': Checkbox,
|
||||
'components/SelectDropdown': SelectDropdown,
|
||||
|
Reference in New Issue
Block a user