upd: division
Deskripsi: - tambah divisi nb: blm selesai No Issues
This commit is contained in:
20
components/buttonNextHeader.tsx
Normal file
20
components/buttonNextHeader.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
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()
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user