@newageerp/v3.layout.back-btn
Advanced tools
Comparing version 2.2.1 to 2.2.2
/// <reference types="react" /> | ||
export declare type BackBtnProps = {}; | ||
export declare function BackBtn({}: BackBtnProps): JSX.Element; | ||
export declare type BackBtnProps = { | ||
onClick?: () => void; | ||
}; | ||
export declare function BackBtn(props: BackBtnProps): JSX.Element; |
@@ -9,5 +9,5 @@ "use strict"; | ||
const react_i18next_1 = require("react-i18next"); | ||
function BackBtn({}) { | ||
function BackBtn(props) { | ||
const { t } = (0, react_i18next_1.useTranslation)(); | ||
return (react_1.default.createElement("div", { className: "tw3-text-slate-400 tw3-text-sm tw3-font-semibold" }, | ||
return (react_1.default.createElement("div", { className: "tw3-text-slate-400 tw3-text-sm tw3-font-semibold tw3-cursor-pointer", onClick: props.onClick }, | ||
react_1.default.createElement("span", { className: "fa-fw fa-regular tw3-mr-[10px] fa-arrow-left-long" }), | ||
@@ -14,0 +14,0 @@ t('Back'))); |
{ | ||
"name": "@newageerp/v3.layout.back-btn", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"homepage": "https://bit.dev/newageerp/v3/layout/back-btn", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "v3/layout/back-btn", | ||
"version": "2.2.1" | ||
"version": "2.2.2" | ||
}, | ||
@@ -12,0 +12,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25323
74