Skip to content

How to add custom hairstyles #32

Answered by wwayne
fk20268 asked this question in Q&A
Discussion options

You must be logged in to vote

You can add your component into the folder src/hair and edit the file src/hair/index.tsx to accept a new hairstyle, after that you should need to update the typescript type to accept the newly added component.

In the beginning, I generate those components by exporting SVG from the Figma files and did some modifications manually

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wwayne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants