Deskripsi:
Fix: event beranda dan status > tampilan Feature: create event dan halaman detail status Fix: Basebox: Hide safearea kalau ada tabs Fix: TextCustom: Tambah size xlarge Fix: ScrollCustom penambhan props value # No Issue
This commit is contained in:
@@ -6,6 +6,7 @@ import ButtonCustom from "../Button/ButtonCustom";
|
||||
interface ButtonData {
|
||||
id: string | number;
|
||||
label: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
interface ScrollableCustomProps {
|
||||
@@ -27,7 +28,7 @@ const ScrollableCustom = ({
|
||||
style={styles.scrollView}
|
||||
>
|
||||
{data.map((item) => {
|
||||
const isActive = activeId === item.id;
|
||||
const isActive = activeId === item.value;
|
||||
|
||||
return (
|
||||
<ButtonCustom
|
||||
|
||||
Reference in New Issue
Block a user