Skip to content

Latest commit

 

History

History
executable file
·
54 lines (39 loc) · 1.91 KB

README.md

File metadata and controls

executable file
·
54 lines (39 loc) · 1.91 KB

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"