You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
943 B
18 lines
943 B
import React from 'react' |
|
import { View, Text, Pressable, TextInput } from 'react-native' |
|
import tw from 'tailwind-react-native-classnames'; |
|
|
|
export default function Code({}) { |
|
return ( |
|
<View style={tw.style('flex w-full flex-col items-end mt-5')}> |
|
<Text style={tw.style('font-bold text-lg text-blue-500 mt-1')}>کد تخفیف</Text> |
|
<Text style={tw.style('font-xs text-gray-500')}>اگر کد تخفیفی دارید آن را در کادر زیر وارد کنید.</Text> |
|
<View style={tw.style('flex w-full flex-row-reverse border border-blue-300 p-1 rounded-md mt-3')}> |
|
<TextInput style={tw.style('border-0 flex-1 text-right pr-2')} /> |
|
<Pressable style={tw.style('bg-blue-500 rounded-md py-2 px-4')}> |
|
<Text style={tw.style('text-white text-sm')}>ثبت کد</Text> |
|
</Pressable> |
|
</View> |
|
</View> |
|
) |
|
}
|
|
|