{slots.slice(0, 3).map((slot, idx) => (
<槽键={idx} {...槽} />
))}
<假达世币/>
{slots.slice(3).map((slot, idx) => (
<槽键={idx} {...槽} />
))}
>
)}
/>
// 随意复制。使用@shadcn/ui顺风颜色。
函数槽(道具:SlotProps){
返回(
{道具.char ?? props.placeholderChar}
{props.hasFakeCaret &&
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱