1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00
Files
php-flarum/js/dist-typings/common/components/Link.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

13 lines
465 B
TypeScript

/**
* The link component enables both internal and external links.
* It will return a regular HTML link for any links to external sites,
* and it will use Mithril's m.route.Link for any internal links.
*
* Links will default to internal; the 'external' attr must be set to
* `true` for the link to be external.
*/
export default class Link extends Component<import("../Component").ComponentAttrs> {
constructor();
}
import Component from "../Component";