@tamagui/dismissable
Advanced tools
Comparing version 1.0.1-beta.56 to 1.0.1-beta.57
@@ -5,3 +5,2 @@ var __defProp = Object.defineProperty; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
var __export = (target, all) => { | ||
@@ -26,8 +25,9 @@ for (var name in all) | ||
module.exports = __toCommonJS(Dismissable_native_exports); | ||
const Dismissable = /* @__PURE__ */ __name((props) => { | ||
var import_react = require("react"); | ||
const Dismissable = (0, import_react.forwardRef)((props, _ref) => { | ||
return props.children; | ||
}, "Dismissable"); | ||
const DismissableBranch = /* @__PURE__ */ __name((props) => { | ||
}); | ||
const DismissableBranch = (0, import_react.forwardRef)((props, _ref) => { | ||
return props.children; | ||
}, "DismissableBranch"); | ||
}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -34,0 +34,0 @@ 0 && (module.exports = { |
@@ -1,9 +0,8 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
const Dismissable = /* @__PURE__ */ __name((props) => { | ||
import { forwardRef } from "react"; | ||
const Dismissable = forwardRef((props, _ref) => { | ||
return props.children; | ||
}, "Dismissable"); | ||
const DismissableBranch = /* @__PURE__ */ __name((props) => { | ||
}); | ||
const DismissableBranch = forwardRef((props, _ref) => { | ||
return props.children; | ||
}, "DismissableBranch"); | ||
}); | ||
export { | ||
@@ -10,0 +9,0 @@ Dismissable, |
@@ -1,9 +0,8 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
const Dismissable = /* @__PURE__ */ __name((props) => { | ||
import { forwardRef } from "react"; | ||
const Dismissable = forwardRef((props, _ref) => { | ||
return props.children; | ||
}, "Dismissable"); | ||
const DismissableBranch = /* @__PURE__ */ __name((props) => { | ||
}); | ||
const DismissableBranch = forwardRef((props, _ref) => { | ||
return props.children; | ||
}, "DismissableBranch"); | ||
}); | ||
export { | ||
@@ -10,0 +9,0 @@ Dismissable, |
{ | ||
"name": "@tamagui/dismissable", | ||
"version": "1.0.1-beta.56", | ||
"version": "1.0.1-beta.57", | ||
"sideEffects": true, | ||
@@ -23,4 +23,4 @@ "source": "src/index.ts", | ||
"@radix-ui/react-use-escape-keydown": "^0.1.0", | ||
"@tamagui/compose-refs": "^1.0.1-beta.56", | ||
"@tamagui/core": "^1.0.1-beta.56" | ||
"@tamagui/compose-refs": "^1.0.1-beta.57", | ||
"@tamagui/core": "^1.0.1-beta.57" | ||
}, | ||
@@ -32,3 +32,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.1-beta.56", | ||
"@tamagui/build": "^1.0.1-beta.57", | ||
"react": "*", | ||
@@ -35,0 +35,0 @@ "react-dom": "*" |
/// <reference types="react" /> | ||
import { DismissableBranchProps, DismissableProps } from './DismissableProps'; | ||
export declare const Dismissable: (props: DismissableProps) => import("react").ReactNode; | ||
export declare const DismissableBranch: (props: DismissableBranchProps) => import("react").ReactNode; | ||
import { DismissableProps } from './DismissableProps'; | ||
export declare const Dismissable: import("react").ForwardRefExoticComponent<DismissableProps & import("react").RefAttributes<unknown>>; | ||
export declare const DismissableBranch: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>; | ||
//# sourceMappingURL=Dismissable.native.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76706
852