how can i import custem font in this style sheet ??
import * as Consts from “./constants/styleConstants”;
import { StyleSheet } from “react-native”;
const stylesBase = StyleSheet.create({
text: {
fontSize: 13,
color: Consts.colorDark2,
lineHeight: 19
},
h1: {
fontSize: 30,
fontWeight: "bold",
color: Consts.colorDark1
},
h2: {
fontSize: 26,
fontWeight: "bold",
color: Consts.colorDark1
},
h3: {
fontSize: 22,
fontWeight: "bold",
color: Consts.colorDark1
},
h4: {
fontSize: 18,
fontWeight: "bold",
color: Consts.colorDark1
},
h5: {
fontSize: 15,
fontWeight: "bold",
color: Consts.colorDark1
},
h6: {
fontSize: 13,
fontWeight: “bold”,
color: Consts.colorDark1
},
});
export default stylesBase;