17 lines
373 B
TypeScript
17 lines
373 B
TypeScript
import { Feather } from "@expo/vector-icons"
|
|
import { ButtonHeader } from "./buttonHeader"
|
|
|
|
type Props = {
|
|
onPress: () => void
|
|
}
|
|
|
|
export default function ButtonMenuHeader({ onPress }: Props) {
|
|
return (
|
|
<>
|
|
<ButtonHeader
|
|
item={<Feather name="menu" size={20} color="white" />}
|
|
onPress={() => onPress()}
|
|
/>
|
|
</>
|
|
)
|
|
} |