22 lines
838 B
TypeScript
22 lines
838 B
TypeScript
// Metro module 11787 (f11788).
|
|
import { createStyles } from "../../../../design/components/Styles/native/createStyles";
|
|
import Module712 from "../../../../_bundle/Module712";
|
|
import { intl, t } from "../../../../intl/index.native";
|
|
import { HeaderTextButton } from "../../../main_tabs_v2/native/shared_components/HeaderShared";
|
|
const useStyles = createStyles({
|
|
button: {
|
|
color: Module712.colors.INTERACTIVE_TEXT_DEFAULT
|
|
},
|
|
insideNavigatorButton: {
|
|
paddingRight: 16
|
|
}
|
|
});
|
|
export default function SkipHeaderButton(props) {
|
|
const styles = useStyles();
|
|
let label = props.label;
|
|
if (label == null) {
|
|
label = intl.string(t["5Wxrcd"]);
|
|
}
|
|
return <HeaderTextButton {...props} labelStyle={[styles.button, props.insideNavigator ? styles.insideNavigatorButton : void 0]} label={label} accessibilityLabel={label} />;
|
|
};
|