@opensea/ui-kit
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -1,5 +0,3 @@ | ||
/// <reference types="react" /> | ||
type Props = JSX.IntrinsicElements["button"]; | ||
export declare const UnstyledButton: ({ className, ...rest }: Props) => JSX.Element; | ||
export {}; | ||
import React from "react"; | ||
export declare const UnstyledButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>; | ||
//# sourceMappingURL=UnstyledButton.react.d.ts.map |
@@ -195,3 +195,3 @@ import { Slot } from '@radix-ui/react-slot'; | ||
const _excluded = ["className"]; | ||
const UnstyledButton = _ref => { | ||
const UnstyledButton = /*#__PURE__*/forwardRef(function UnstyledButton(_ref, ref) { | ||
let { | ||
@@ -202,6 +202,7 @@ className | ||
return /*#__PURE__*/jsx("button", _extends({ | ||
ref: ref, | ||
className: classNames("inline-flex items-center border-0 bg-inherit font-[inherit] text-[100%]", className), | ||
type: "button" | ||
}, rest)); | ||
}; | ||
}); | ||
@@ -208,0 +209,0 @@ const breakpoints = { |
@@ -194,10 +194,11 @@ import { Slot } from '@radix-ui/react-slot'; | ||
var _excluded = ["className"]; | ||
var UnstyledButton = function UnstyledButton(_ref) { | ||
var UnstyledButton = /*#__PURE__*/forwardRef(function UnstyledButton(_ref, ref) { | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return /*#__PURE__*/jsx("button", _extends({ | ||
ref: ref, | ||
className: classNames("inline-flex items-center border-0 bg-inherit font-[inherit] text-[100%]", className), | ||
type: "button" | ||
}, rest)); | ||
}; | ||
}); | ||
@@ -204,0 +205,0 @@ var breakpoints = { |
@@ -208,10 +208,11 @@ (function (global, factory) { | ||
var _excluded = ["className"]; | ||
var UnstyledButton = function UnstyledButton(_ref) { | ||
var UnstyledButton = /*#__PURE__*/react.forwardRef(function UnstyledButton(_ref, ref) { | ||
var className = _ref.className, | ||
rest = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return /*#__PURE__*/jsxRuntime.jsx("button", _extends({ | ||
ref: ref, | ||
className: classNames("inline-flex items-center border-0 bg-inherit font-[inherit] text-[100%]", className), | ||
type: "button" | ||
}, rest)); | ||
}; | ||
}); | ||
@@ -218,0 +219,0 @@ var breakpoints = { |
{ | ||
"name": "@opensea/ui-kit", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "OpenSea's Design System implementation in React", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
771727
7645