Files
mobile-darmasaba/components/buttonNextHeader.tsx
amel 51f8cb78f5 upd: division
Deskripsi:
- tambah divisi

nb: blm selesai

No Issues
2025-05-27 17:44:05 +08:00

20 lines
488 B
TypeScript

import { Feather } from "@expo/vector-icons"
import { ButtonHeader } from "./buttonHeader"
type Props = {
onPress?: () => void
disable?: boolean
}
export default function ButtonNextHeader({ onPress, disable }: Props) {
return (
<>
<ButtonHeader
item={<Feather name="chevron-right" size={20} color={disable ? "grey" : "white"} />}
onPress={() => {
!disable && onPress && onPress()
}}
/>
</>
)
}