@raushanranjan/my-sample-package
Version:
This is a sample package for testing purpose. Also an example for how to make an npm package in react-native
31 lines (25 loc) • 735 B
TypeScript
// Type definitions for MySamplePackage 1.0.0
// Project: https://github.com/raushanji/my-sample-package.git
// TypeScript Version: 3.0
import * as React from 'react'
// Message Screen
export interface MessageProps {
ViewWidth?: number
ViewHeight?: number
Message?: string
fontSize?: number
TextColor?: string
FontWeight?: string
TextAllign?: string
}
export class Message extends React.Component<MessageProps> {}
// Welcome Screen
export interface WelcomeProps {
ViewWidth?: number
ViewHeight?: number
fontSize?: number
TextColor?: string
FontWeight?: string
TextAllign?: string
}
export class Welcome extends React.Component<WelcomeProps> {}