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

@@ -22,7 +22,7 @@ interface TextCustomProps {
bold?: boolean;
semiBold?: boolean;
size?: "default" | "large" | "small";
color?: "default" | "yellow" | "red" | "gray";
color?: "default" | "yellow" | "red" | "gray" | "green";
align?: TextAlign; // Prop untuk alignment
truncate?: boolean | number;
onPress?: () => void;
@@ -57,6 +57,7 @@ const TextCustom: React.FC<TextCustomProps> = ({
if (color === "yellow") selectedStyles.push(styles.yellow);
else if (color === "red") selectedStyles.push(styles.red);
else if (color === "gray") selectedStyles.push(styles.gray);
else if (color === "green") selectedStyles.push(styles.green);
// Alignment
if (align) {
@@ -126,4 +127,7 @@ export const styles = StyleSheet.create({
gray: {
color: MainColor.placeholder,
},
green: {
color: MainColor.green,
},
});