react-native-unit-components
Version:
Unit React Native components
41 lines (34 loc) • 705 B
text/typescript
export type UNAddress = {
street: string,
street2?: string,
city: string,
state: string,
postalCode: string,
country: string
}
export type UNLimits = {
dailyWithdrawal?: string | number,
dailyPurchase?: string | number,
monthlyWithdrawal?: string | number,
monthlyPurchase?: string | number,
}
export type UNRelationshipData = {
type: string,
id: number | string
}
export type UNRelationship = {
data:
| null
| []
| UNRelationshipData
| UNRelationshipData[]
}
export type UNFullName = {
first: string,
last: string
}
export enum UNDirection {
Debit = 'Debit',
Credit = 'Credit',
}
export type UNTags = Record<string, string> // TODO: specify Tag type