How to use font awesome in react-graph-vis? #138
Unanswered
carloborsoi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had install the fontawesome for react and try this code to use this font:
const newOptions = {
groups: {
usergroups: {
shape: "icon",
icon: {
face: "'Font Awesome 5 Pro'",
code: "\uf0f4",
size: 50,
color: "#57169a",
}
}
}
};
It only shows a square, not shows the icon.
Is it possible to use font awesome in react-graph-vis ?
Beta Was this translation helpful? Give feedback.
All reactions