Source code
Revision control
Copy as Markdown
Other Tools
// Desktop V3
import figma from "figma";
const rating = figma.selectedInstance.getString("Rating");
export default {
id: "moz-five-star-desktop-v3",
example: figma.code`
<moz-five-star ${rating ? `rating="${rating}"` : ""} selectable />
`,
};