docs(www): document Input - #306
Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Add the Input component docs page (Preview-based MDX) covering usage, the type/fontSize/fontWeight props, disabled state, the Action button (incl. asChild), anatomy, and the API reference. API table written by hand from source. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
aa599db to
acb4b67
Compare
Changes
Input을 문서로 추가합니다. 컴포넌트 변경 없이 문서만 추가하는 PR입니다.
input.mdxInput(div wrapper + native input, ref는 input으로 전달)과 별도 exportAction(button 또는 asChild) 구조를 문서화.<Preview code={...}>예제 코드는 실제 렌더 결과와 일치.size/variant/error(invalid)prop은 소스에 없어 문서화하지 않음. 사이징 축은fontSize(px), 굵기는fontWeight.Visuals
Checklist
Additional Discussion Points
Action은Input.Action네임스페이스가 아니라 플랫 export({ Input, Action })입니다. 소스 그대로 문서화했습니다.