Skip to content

Easier way of adding a font? #709

@reggi

Description

@reggi

Looking for an easier way to add a font, I got this working, but it's not very obvious how this works.

head.html

<style type="text/css" media="screen, print">
  @font-face {
    font-family: "FontAwesome";
    src: url("/Fonts/FontAwesome.ttf");
  }
</style>

Then my start script needed:

start-storybook -p 9001 -c .storybook -s ./node_modules/react-native-vector-icons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions