Skip to content

paritoshraval100/GradientButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

GradientButton

Gradient Button with SwiftUI

Screenshot 2021-04-08 at 11 57 35 AM

I have created PJRGradientButton which will generate a button with two colors and title.

How to use?

It is very simple, you can use PJRGradientButton file in any class just like PJRGradientButton().

Example: PJRGradientButton(titleText: "Add Button", gradientColor1: Color.blue, gradientColor2: Color.pink, buttonImageName: "plus.circle", withDelegate: self)

License

Paritosh Raval