radix ui react slot
React Slotが便利
radix ui react slot
website radix ui react slot Slot · Visually Hidden Components Alert Dialog A modal dialog that interrupts * as AlertDialog from '@radix-uireact-alert-dialog'; export default radixui_reactslot Slot · Visually Hidden Components Scroll Area Augments native scroll import * as ScrollArea from '@radix-uireact-scroll-area'; import ' styles
radix ui react slot onto its immediate child component import { Slot } from '@radix-uireact-slot' type ButtonProps = 'button Slot · Visually Hidden Components Slider An input where the user selects a import * as Slider from '@radix-uireact-slider'; import ' What is @radix-uireact-slot? The @radix-uireact-slot package is a utility for React that allows you to distribute elements as 'slots' It is