We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// 기본 large 버튼 사용 DefaultButton( buttonSize: .large, buttonStyle: .filled, buttonColor: .mainPurple, isIndicate: false, action: { print("HI") }, content: { Text("Button") } ) // 커스텀 버튼 사용 DefaultButton( buttonSize: .small, width: 300, height: 35, buttonStyle: .filled, buttonColor: .mainPurple, isIndicate: false, action: { print("HI") }, content: { Text("Button") } )
매개변수를 넣어서 커스텀 가능
버튼을 클릭했을 때 작동되는 액션 클로져
Text(””)
The text was updated successfully, but these errors were encountered:
dodo849
leeyi1203
No branches or pull requests
Button Component Guide
ButtonSize
Width? (옵셔널)
매개변수를 넣어서 커스텀 가능
Height? (옵셔널)
매개변수를 넣어서 커스텀 가능
ButtonStyle
ButtonColor
isIndicate
Action
버튼을 클릭했을 때 작동되는 액션 클로져
Content
Text(””)
를 사용하면 됨The text was updated successfully, but these errors were encountered: