yarn add @uxf/core @uxf/ui
@import url("@uxf/ui/css/figma-colors.css");
/*const { figmaColors } = require("@uxf/ui/figma-colors");*/
const tailwindConfig = {
theme: {
extend: {
colors:
...figmaColors,
...
Note: primary color is replaced with brand color (i.e. primary_surface_default -> brand_surface_default)
type OptionId = string | number;
type Option = { id: OptionId, label: string }
value: OptionId
options: Array<Option>
value: Array<Option>
options: Array<Option>
value: Option
options: Array<Option>
loadOptions: (term: string) => Promise<Array<Option>>
value: Array<Option>
options: Array<Option>
loadOptions: (term: string) => Promise<Array<Option>>