phx-react 1.3.1051 → 1.3.1052
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.
|
@@ -8,7 +8,7 @@ function PHXEmptyStateAction(_a) {
|
|
|
8
8
|
var _b;
|
|
9
9
|
var onAction = _a.onAction, title = _a.title, description = _a.description, _c = _a.buttonContent, buttonContent = _c === void 0 ? 'Tải lên phiếu lương' : _c, _d = _a.buttonType, buttonType = _d === void 0 ? 'primary' : _d, _e = _a.img, img = _e === void 0 ? 'https://sisv2-cdn.phx-smartschool.com/library/book-copy/4-21-2025/93cd5b01-20c4-41a2-a61b-e2f8e1a152d5-Mask-Group.png' : _e, _f = _a.imgClassname, imgClassname = _f === void 0 ? '' : _f, _g = _a.classname, classname = _g === void 0 ? '' : _g;
|
|
10
10
|
return (react_1["default"].createElement("div", { className: "flex flex-col items-center mb-20 ".concat(classname) },
|
|
11
|
-
react_1["default"].createElement("img", { src: img, className: "w-[
|
|
11
|
+
react_1["default"].createElement("img", { src: img, className: "w-[148px] h-[148px] ".concat(imgClassname) }),
|
|
12
12
|
react_1["default"].createElement("p", { className: 'text-[14px] leading-5 font-[650] max-w-[60%] text-center' }, title),
|
|
13
13
|
react_1["default"].createElement("p", { className: 'text-[12px] mt-2 leading-5 font-normal text-gray-800 max-w-[80%] text-center' }, description),
|
|
14
14
|
buttonContent && (react_1["default"].createElement(Button_1.PHXButton, tslib_1.__assign({}, (_b = {}, _b[buttonType] = true, _b), { className: 'text-xs font-normal mt-4', onClick: onAction }), buttonContent))));
|
|
@@ -5,7 +5,7 @@ export function PHXEmptyStateAction(_a) {
|
|
|
5
5
|
var _b;
|
|
6
6
|
var onAction = _a.onAction, title = _a.title, description = _a.description, _c = _a.buttonContent, buttonContent = _c === void 0 ? 'Tải lên phiếu lương' : _c, _d = _a.buttonType, buttonType = _d === void 0 ? 'primary' : _d, _e = _a.img, img = _e === void 0 ? 'https://sisv2-cdn.phx-smartschool.com/library/book-copy/4-21-2025/93cd5b01-20c4-41a2-a61b-e2f8e1a152d5-Mask-Group.png' : _e, _f = _a.imgClassname, imgClassname = _f === void 0 ? '' : _f, _g = _a.classname, classname = _g === void 0 ? '' : _g;
|
|
7
7
|
return (React.createElement("div", { className: "flex flex-col items-center mb-20 ".concat(classname) },
|
|
8
|
-
React.createElement("img", { src: img, className: "w-[
|
|
8
|
+
React.createElement("img", { src: img, className: "w-[148px] h-[148px] ".concat(imgClassname) }),
|
|
9
9
|
React.createElement("p", { className: 'text-[14px] leading-5 font-[650] max-w-[60%] text-center' }, title),
|
|
10
10
|
React.createElement("p", { className: 'text-[12px] mt-2 leading-5 font-normal text-gray-800 max-w-[80%] text-center' }, description),
|
|
11
11
|
buttonContent && (React.createElement(PHXButton, __assign({}, (_b = {}, _b[buttonType] = true, _b), { className: 'text-xs font-normal mt-4', onClick: onAction }), buttonContent))));
|