use google font url in react code example
Example: how to add google fonts to css in react
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@700&display=swap');
at the top of css file
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@700&display=swap');
at the top of css file