Skip to content

Commit

Permalink
(#0) npm publish (0.0.99)
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Dec 9, 2023
1 parent a614174 commit 9f87da9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbodek-ui",
"version": "0.0.98",
"version": "0.0.99",
"type": "module",
"author": "Bbodek",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion src/core/components/Input/InputPassword/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const InputPassword = forwardRef((
) => {
const id = useId();
const [ showPassword, setShowPassword ] = useState(false);
const { rootClassName, className, required, value, onChange, autoComplete = "off", error, ...rest } = props;
const { readOnly, rootClassName, className, required, value, onChange, autoComplete = "off", error, ...rest } = props;
const { inputValue, onChangeHandler } = useInput({ value, regCallback, onChange });
const ShowPasswordIcon = <Eye size = {"100%"} weight = "fill" fill = "#A9B2C7"/>;
const HidePasswordIcon = <EyeSlash size = {"100%"} weight = "fill" fill = "#A9B2C7"/>;
Expand All @@ -30,6 +30,8 @@ const InputPassword = forwardRef((
rootClassName = {rootClassName}
inputRootClassName = "h-[3.75rem]"
error = {error}
readOnly = {readOnly}
required = {required}
inputComponent = {
<input
ref = {ref}
Expand Down

0 comments on commit 9f87da9

Please sign in to comment.