yamanoku
@yamanoku@hollo.yamanoku.net · Reply to :petthex_javasparrow:しゅいろ:petthex_javasparrow:(本物)'s post
@syuilo const props を const { type = "text" } のように分割代入の形にしたらいかがでしょうか?
@yamanoku@hollo.yamanoku.net · Reply to :petthex_javasparrow:しゅいろ:petthex_javasparrow:(本物)'s post
@syuilo const props を const { type = "text" } のように分割代入の形にしたらいかがでしょうか?
しゅいろ
(本物)@syuilo@misskey.io · Reply to yamanoku's post
@yamanoku@hollo.yamanoku.net それならいけました
この場合ルートスコープにtypeが展開されるのは避けられないんでしょうか