Skip to content

Commit

Permalink
feat: WritableNum type=number 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Sungwook Kim authored and 42sungwook committed Oct 17, 2023
1 parent 6914251 commit 3f38afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/@shared/ui-kit/Writable/WritableNum.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const WritableNum = forwardRef(
<StyledWritable
{...restProps}
value={value?.toString()}
type="number"
ref={ref}
autoComplete="off"
/>
Expand All @@ -24,7 +25,6 @@ WritableNum.displayName = 'WritableNum';
const StyledWritable = styled.input`
all: unset;
width: 100%;
type: number;
&::placeholder {
color: ${({ theme }) => theme.colors.mono.gray500};
Expand Down

0 comments on commit 3f38afb

Please sign in to comment.