Files
mobile-darmasaba/components/buttonNextHeader.tsx
2026-02-20 16:32:35 +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={25} color={disable ? "grey" : "white"} />}
onPress={() => {
!disable && onPress && onPress()
}}
/>
</>
)
}