import React from 'react'; import * as List from '../../containers/List'; import { themes } from '../../lib/constants'; import { CustomIcon, TIconsName } from '../../containers/CustomIcon'; import { useTheme } from '../../theme'; interface IButton { onPress: () => void; testID: string; title: string; icon: TIconsName; } const ButtonCreate = ({ onPress, testID, title, icon }: IButton) => { const { theme } = useTheme(); return ( <> } right={() => } title={title} /> ); }; export default ButtonCreate;