Skip to content

Commit

Permalink
Release v0.2.3 (#192)
Browse files Browse the repository at this point in the history
- Fixed an issue with BackLink component not receiving props

Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft committed Jan 31, 2023
1 parent fb66d55 commit 177e12e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12581,10 +12581,11 @@ var Ko = function (e) {
}),
(exports.BackLink = function (e) {
var t = e.label,
a = e.sx;
a = e.sx,
n = O(e, ["label", "sx"]);
return l.default.createElement(
fi,
{ sx: a },
N({ sx: a }, n),
l.default.createElement(
"span",
{ className: "icon" },
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12159,10 +12159,11 @@ var ri = function (e) {
}),
Mi = function (e) {
var a = e.label,
n = e.sx;
n = e.sx,
r = j(e, ["label", "sx"]);
return t.createElement(
yi,
{ sx: n },
D({ sx: n }, r),
t.createElement("span", { className: "icon" }, t.createElement(bi, null)),
t.createElement("span", { className: "label" }, a)
);
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mds",
"version": "0.2.2",
"version": "0.2.3",
"description": "A MinIO Components Library",
"homepage": ".",
"license": "AGPL-3.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions src/components/BackLink/BackLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ const BackLinkBasic = styled.button<BackLinkProps>(({ theme, sx }) => ({
...sx,
}));

const BackLink: FC<BackLinkProps> = ({ label, sx }) => {
const BackLink: FC<BackLinkProps> = ({ label, sx, ...props }) => {
return (
<BackLinkBasic sx={sx}>
<BackLinkBasic sx={sx} {...props}>
<span className={"icon"}>
<BackSettingsIcon />
</span>
Expand Down

0 comments on commit 177e12e

Please sign in to comment.