open sans in react code example
Example 1: 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
Example 2: open sans font react js
$ npm i open-sans-fonts --save