Slot usage with nested children #1825 - radix-uiprimitives
Slot usage with nested children #1825 - radix-uiprimitives
Index of node_modules@radix-uireact-slot , , 09
This is a common pattern in libraries like Chakra UI and Reakit Here's the final example code for the Button component tsx import { Slot, type AsChildProps }
radix ui slot Index of node_modules@radix-uireact-slot Name · Last modified · Size · Description · Parent Directory, - dist, 21:51, -
radix slot To use Slottable , you must configure it by passing in a config object with the slots member set to an array of slot names Any children whose slot or
Regular
price
147.00 ₹ INR
Regular
price
147.00 ₹ INR
Sale
price
147.00 ₹ INR
Unit price
/
per