Shispare interview question

How to create a component in Figma?