mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 15:33:44 +08:00
14 lines
282 B
JavaScript
14 lines
282 B
JavaScript
import Button from "discourse/components/d-button";
|
|
|
|
export default Button.extend({
|
|
classNames: ["btn-default", "share"],
|
|
icon: "link",
|
|
title: "topic.share.help",
|
|
label: "topic.share.title",
|
|
attributeBindings: ["url:data-share-url"],
|
|
|
|
click() {
|
|
return true;
|
|
}
|
|
});
|