Skip to content

aabidDevit/IntroScreen-SwiftUI

Repository files navigation

IntroScreen

Package URL

https://github.com/aabidDevit/IntroScreen

Preview

ezgif com-video-to-gif-converter (3)

How to use?

-> Add package IntroScreen in your xcode
ezgif com-video-to-gif-converter (2)

Code

import SwiftUI
import IntroScreen

let introData: [IntroData] = [
    IntroData(title: "Choose Products", desc: "Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit.", image: "twinlake"),
    IntroData(title: "Make Payment", desc: "Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit.", image: "twinlake"),
    IntroData(title: "Get Your Order", desc: "Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit.", image: "twinlake")
]

struct ContentView: View {
    var body: some View {
        Intro(introDataArray: introData, skipButtonTapEvent: {
            
        }, getStartedButtonTapEvent: {
            
        }, introTextStyle: IntroTextStyle(titleTextStyle: .init(textFont: Font.title), descTextStyle: .init(textFont: .system(.title3, weight: .regular)),skipTextStyle: .init(textColor: .pink),  prevTextStyle: .init(textColor: .pink), nextTextStyle: .init(textColor: .pink), pageCountTextStyle: .init(textColor: .pink)))
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages