import React from 'react'; import { Stack, Alert, HStack, VStack, Text, Divider, ScrollView, } from 'native-base'; export function Example() { const getTextColor = ( variant: | 'solid' | 'left-accent' | 'top-accent' | 'outline' | 'subtle' | 'outline-light' ) => { switch (variant) { case 'left-accent': case 'top-accent': case 'subtle': return 'coolGray.800'; case 'solid': return 'warmGray.50'; } }; return ( {[ 'solid', 'left-accent', 'top-accent', 'outline', 'subtle', 'outline-light', ].map((key: any) => { return ( <> {key} Selection successfully moved! ); })} ); }