Skip to content

Thanks to this component, it’ll be too easy to add splash to pankod open source projects.

License

Notifications You must be signed in to change notification settings

pankod/project-splash

Repository files navigation

About

Thanks to this component, it’ll be too easy to add splash to pankod open source projects.

Created by Pankod

Getting Started

npm install --save https://github.com/pankod/project-splash

Example

import React from 'react';
import Splash from '@pankod/project-splash'

export default class App extends React.Component {

	public render(): JSX.Element =>  <Splash/>
}

Options


Properties Type Description Default
backgroundImage ImageSourcePropType Background image of splash https://github.com/pankod/project-splash/blob/master/src/Assets/Images/pankod-dark.png?raw=true
style ImageStyle Custom style for splash {backgroundColor:'#F9D92D',height: '100%',width: '100%',zIndex: 1}
resizeMode ImageResizeMode Background image resizeMode "contain"

About

Thanks to this component, it’ll be too easy to add splash to pankod open source projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published