feature & fix

deskripsi:
- new component : Scroll
- fix : notifikasi, use search, portofolio item drawer
- new constats : padding value
- fix component :
Text custom : tambah warna gray di props
Text Input: tambah props container Style

# No Issue
This commit is contained in:
2025-07-11 17:34:04 +08:00
parent 3301cf3d7a
commit 5183769a7c
10 changed files with 254 additions and 26 deletions

View File

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