refactor: refactor HeaderSegment to function component
refactor: refactor HeaderSegment to function component

react-community/react-navigation,react-community/react-navigation,react-community/react-navigation