Skip to content

Commit

Permalink
feat: add explanation to Button
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeyeonAhn committed Oct 7, 2024
1 parent 6acba20 commit 974eb8f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/web/src/common/components/Buttons/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
사용법
IconButton으로 쓰고자 하면, iconType prop 전달
Button으로 쓰고자 하면, iconType prop 전달X
Custom Children을 넣고자 하면, iconType, buttonText 전달X
*/

"use client";

import React, { HTMLAttributes } from "react";
Expand Down

0 comments on commit 974eb8f

Please sign in to comment.