Last active
February 11, 2023 08:52
-
-
Save fu-sen/91d0e0c5d1d2783f5448d571a526ef9a to your computer and use it in GitHub Desktop.
Misskey: Button to post a fixed note on Misskey Play | Misskey Play 固定ノート(投稿)ボタン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/deed | |
let result = `test` | |
Ui:render([ | |
Ui:C:container({ | |
children: [ | |
Ui:C:mfm({ text: result }) | |
Ui:C:postFormButton({ | |
text: "Note" | |
rounded: true | |
primary: true | |
form: { | |
text: `{result}` | |
} | |
}) | |
] | |
}) | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Misskey Play で固定ノート(投稿)ボタンを作成する
https://misskey.io/notes/9asz3xcyaz