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:
amel
2025-05-05 17:31:39 +08:00
parent 9756a05d2a
commit 1644bec261
7 changed files with 282 additions and 262 deletions

View File

@@ -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}