rn-customize-avatar
Version:
This package is inspired by whatsapp, instagram custom avatar. You can customize your own avatar and use as a profile in your project
15 lines (13 loc) • 502 B
TypeScript
import {ElementListProps} from './ElementsList';
import {OptionsListProps} from './OptionsList';
import {PressableContainerProps} from './PressableContainer';
interface CommonProps
extends Omit<OptionsListProps, 'onPress' | 'listOfElements'>,
Omit<PressableContainerProps, 'onPressCancel' | 'onPressDone'>,
Omit<ElementListProps, 'list' | 'onPressItem'> {
backgroundColor?: string;
svgWidth?: number;
svgHeight?: number;
onDone?: (base64: string) => void;
onCancel?: () => void;
}