Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/text input #6

Merged
merged 7 commits into from
Apr 24, 2022
Merged

Feat/text input #6

merged 7 commits into from
Apr 24, 2022

Conversation

ghtea
Copy link
Collaborator

@ghtea ghtea commented Apr 24, 2022

Summary

add TextInput, TextInputPassword

Key Changes

  • add TextInput component, story
  • add TextInputPassword component, story
  • refactor component file names

Screenshots

Screen Shot 2022-04-24 at 10 51 28 AM
Screen Shot 2022-04-24 at 10 51 21 AM

Checklist

  • lint-fix
  • ts-check

@ghtea ghtea closed this Apr 24, 2022
@ghtea ghtea reopened this Apr 24, 2022
onFocus={handleFocus}
css={css}
/>
<div css={{position: "absolute", right: 0, bottom: 6}}>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오른쪽 버튼을 어떻게 스타일하실지 궁금했는데👍🏻👍🏻
근데 clear Icon을 감싸는 엘리먼트로 span대신 button은 어떨까요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋아요~


const [localValue, setLocalValue] = useState("")

const inputRef = useRef<HTMLInputElement>(null)
Copy link
Collaborator

@Hong-been Hong-been Apr 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지금은 inputRef를 input에 걸어두기만 하고 사용안하는거같은데, 나중에 언제필요한건가요?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지우는 걸 깜빡햇네요 👍

@ghtea ghtea closed this Apr 24, 2022
@ghtea ghtea deleted the feat/text-input branch April 24, 2022 08:12
@ghtea ghtea restored the feat/text-input branch April 24, 2022 08:13
@ghtea ghtea reopened this Apr 24, 2022
@Hong-been
Copy link
Collaborator

컴포넌트이름이 파스칼로 안바뀌네요 😭

@ghtea
Copy link
Collaborator Author

ghtea commented Apr 24, 2022

한번 머지하고 확인해보려고 ㅠ

@ghtea ghtea merged commit 7f0604d into develop Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants