Skip to content

Commit

Permalink
fix: input date 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jikwan0327 committed Nov 4, 2023
1 parent 93054af commit d5ef308
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@team-return/design-system",
"version": "1.1.8",
"version": "1.1.9",
"repository": {
"type": "git",
"url": "https://github.com/Team-Return/JOBIS-DESIGN-SYSTEM.git"
Expand Down
9 changes: 5 additions & 4 deletions src/components/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@ export const Input = ({
disabled={disabled}
kind={kind}
error={error}
max="9999-12-31"
/>
<_Icon>
{iconName && (
{iconName && (
<_Icon>
<Icon
onClick={iconClick}
icon={iconName}
color={IconColor(disabled, error)}
/>
)}
</_Icon>
</_Icon>
)}
</_Container>
{!disabled && message && <_Message error={error}>{message}</_Message>}
</_Wrapper>
Expand Down
1 change: 1 addition & 0 deletions src/stories/input/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const Template: ComponentStory<typeof Input> = (args) => <Input {...args} />;
export const Default = Template.bind({});
Default.args = {
kind: 'DefaultInput',
type: 'date',
};

export const Line = Template.bind({});
Expand Down

0 comments on commit d5ef308

Please sign in to comment.