feature & fix

deskripsi:
feature:
- floating button
- Forum create

fix:
- Base box
- Avatar : penambahan onPres & href
- Text custom : penambahan warna props green
- Text Area : penambhaan hight
- ViewWrapper : penambahan props floating
# No Issue "
This commit is contained in:
2025-07-14 11:56:44 +08:00
parent 5183769a7c
commit ac9dae7c5b
16 changed files with 1060 additions and 537 deletions

View File

@@ -1,4 +1,5 @@
import { AccentColor } from "@/constants/color-palet";
import { PADDING_EXTRA_SMALL, PADDING_MEDIUM, PADDING_SMALL } from "@/constants/constans-value";
import { StyleProp, TouchableHighlight, View, ViewStyle } from "react-native";
interface BaseBoxProps {
@@ -8,14 +9,16 @@ interface BaseBoxProps {
marginBottom?: number;
padding?: number;
paddingInline?: number;
paddingBlock?: number;
}
export default function BaseBox({
children,
style,
onPress,
marginBottom = 16,
padding = 12,
marginBottom = PADDING_MEDIUM,
paddingBlock = PADDING_EXTRA_SMALL,
paddingInline = PADDING_SMALL,
}: BaseBoxProps) {
return (
<>
@@ -29,7 +32,8 @@ export default function BaseBox({
borderWidth: 1,
borderRadius: 10,
marginBottom,
padding,
paddingBlock,
paddingInline,
},
style,
]}
@@ -46,7 +50,8 @@ export default function BaseBox({
borderWidth: 1,
borderRadius: 10,
marginBottom,
padding,
paddingBlock,
paddingInline,
},
style,
]}