Skip to content

Commit

Permalink
Update 'README.md'
Browse files Browse the repository at this point in the history
  • Loading branch information
changemin committed Dec 27, 2020
1 parent 742bb0b commit de8076e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img width=300px src="src/Logo.gif" alt="Project logo"></a>
</p>

<h3 align="center">🌬CMFloatingTextField🌬</h3>
<h3 align="center">βœ‹ CMLoadingButton βœ‹</h3>

<div align="center">

Expand All @@ -15,7 +15,7 @@
---

<p align="center">
Pure SwiftUI Simple Loading Animation Button
Simple Loading Animation Button for SwiftUI
<br>
</p>

Expand Down Expand Up @@ -43,7 +43,7 @@

## 🎈Usage
```Swift
CMLoadingButton(action: { }, isLoading: <Binding>Bool, style: CMButtonStyle) {
LoadingButton(action: { }, isLoading: <Binding>Bool, style: CMButtonStyle) {
// View on the button
// style is optional parameter
```
Expand Down Expand Up @@ -81,7 +81,7 @@ struct ContentView: View {
@State var isLoading: Bool = false

var body: some View {
CMLoadingButton(action: {
LoadingButton(action: {
// Your Action here
}, isLoading: $isLoading) {
Text("CMLoadingButton").foregroundColor(Color.white)
Expand Down Expand Up @@ -109,7 +109,7 @@ struct ContentView: View {
strokeColor: .gray)

var body: some View {
CMLoadingButton(action: {
LoadingButton(action: {
// Your Action here
}, isLoading: $isLoading, style: style) {
Text("Styled CMLoadingButton").foregroundColor(Color.white)
Expand All @@ -121,7 +121,7 @@ struct ContentView: View {
<img src="src/Example-2.png" height="100">
<img src="src/Example-2-1.png" height="100">

### πŸ’…πŸ» Appling Style Only Needs
### πŸ’…πŸ» Styling Only Needs
```Swift
import SwiftUI
import CMLoadingButton
Expand All @@ -130,7 +130,7 @@ struct ContentView: View {
@State var isLoading: Bool = false

var body: some View {
CMLoadingButton(action: {
LoadingButton(action: {
// Your Action here
}, isLoading: $isLoading, style: CMButtonStyle(cornerRadius: 27, backgroundColor: .orange)) {
Text("Styled CMLoadingButton").foregroundColor(Color.white)
Expand All @@ -153,4 +153,4 @@ CMLoadingButton is available under the MIT license. See the `LICENSE` file for m

## ✍️ Author

- [πŸ‡°πŸ‡·@Changemin](https://github.com/kylelobo)
- Byun Kyung Min ➜ [πŸ‡°πŸ‡·@Changemin](https://github.com/Changemin)

0 comments on commit de8076e

Please # to comment.