upd: tampilan

Deskripsi:
- vertical center icon list dan grid pada list project dan divisi
- mb list lembaga desa dan search page

No Issues
This commit is contained in:
2025-08-22 12:15:45 +08:00
parent f5c29e86fa
commit d88c332b03
7 changed files with 9 additions and 9 deletions

View File

@@ -19,15 +19,16 @@ type Props = {
value?: string
disable?: boolean
multiline?: boolean
mb?: boolean
};
export function InputForm({ label, value, placeholder, onChange, info, disable, error, errorText, required, itemLeft, itemRight, type, round, width, bg, multiline }: Props) {
export function InputForm({ label, value, placeholder, onChange, info, disable, error, errorText, required, itemLeft, itemRight, type, round, width, bg, multiline, mb = true }: Props) {
const lebar = Dimensions.get("window").width;
if (itemLeft != undefined || itemRight != undefined) {
return (
<View style={{ marginBottom: 10 }}>
<View style={[mb && Styles.mb10]}>
{
label != undefined && (
<Text style={[{ marginBottom: 5, textTransform: "capitalize" }, error && Styles.cError]}>