react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
31 lines (30 loc) • 746 B
TypeScript
/// <reference types="react" />
import { ImageURISource } from 'react-native';
export declare type StateScreenProps = {
/**
* The image source that's showing at the top. use an image that was required locally
*/
imageSource?: ImageURISource;
source?: ImageURISource;
/**
* To to show as the title
*/
title: string;
/**
* Text to to show as the subtitle
*/
subtitle?: string | React.ReactNode;
/**
* Text to to show in the "call to action" button
*/
ctaLabel?: string;
/**
* Action handler for "call to action" button
*/
onCtaPress?: () => void;
/**
* Use to identify the container in tests
*/
testId?: string;
testID?: string;
};