upd: diskusi umum
Deskripsi: - list diskusi umum - filter diskusi - pencarian diskusi - detail diskusi - kirim komentar pada diskusi umum No Issues
This commit is contained in:
@@ -16,10 +16,11 @@ type Props = {
|
||||
width?: number
|
||||
bg?: 'white' | 'transparent'
|
||||
value?: string
|
||||
disable?: boolean
|
||||
};
|
||||
|
||||
|
||||
export function InputForm({ label, value, placeholder, onChange, info, error, errorText, required, itemLeft, itemRight, type, round, width, bg }: Props) {
|
||||
export function InputForm({ label, value, placeholder, onChange, info, disable, error, errorText, required, itemLeft, itemRight, type, round, width, bg }: Props) {
|
||||
const lebar = Dimensions.get("window").width;
|
||||
|
||||
if (itemLeft != undefined || itemRight != undefined) {
|
||||
@@ -36,6 +37,7 @@ export function InputForm({ label, value, placeholder, onChange, info, error, er
|
||||
<View style={[Styles.inputRoundForm, itemRight != undefined ? Styles.inputRoundFormRight : Styles.inputRoundFormLeft, round && Styles.round30, { backgroundColor: bg && bg == 'white' ? 'white' : 'transparent' }, Styles.pv10]}>
|
||||
{itemRight != undefined ? itemRight : itemLeft}
|
||||
<TextInput
|
||||
editable={!disable}
|
||||
value={value}
|
||||
placeholder={placeholder}
|
||||
keyboardType={type}
|
||||
|
||||
Reference in New Issue
Block a user