@jamsrui/slot 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/dist/slot.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-N5GPQXSS.mjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{Slot as t}from"./slot.mjs";export{t as Slot};
|
package/dist/slot.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Fragment as c,jsx as l}from"react/jsx-runtime";import{cloneElement as n}from"react";const s=o=>{const{slot:e,children:t,slotProps:r}=o;return e?n(e,r,e.props?.children??t?.props?.children):l(c,{children:t})};export{s as Slot};
|
package/package.json
CHANGED
package/dist/chunk-N5GPQXSS.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cloneElement as n}from"react";import{Fragment as c,jsx as l}from"react/jsx-runtime";var s=o=>{let{slot:e,children:t,slotProps:r}=o;return e?n(e,r,e.props?.children??t?.props?.children):l(c,{children:t})};export{s as a};
|