@ehsaneha/react-slot
Version:
A React <Slot> component that merges props and forwards refs to a single child element, similar to Radix UI’s Slot.
17 lines • 399 B
JSON
{
"compilerOptions": {
"target": "ES6",
"module": "ESNext",
"jsx": "react",
"declaration": true,
"outDir": "dist",
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}