Skip to main content

resolvers

resolvers.{tsx,ts,jsx,js}

Maps a name and taxonomy with options to a React component.

resolvers.{tsx,ts,jsx,js}
import { Button } from "./Button";

// 1️⃣ Define your resolvers
const resolvers = [
{
name: "Button",
taxonomy: "form",
com: Button,
},
];

export default resolvers;
info

⚠️ Important: The names of the functions in the export default remain unchanged; only their internal implementation should be customized.

Resolver Specification

PropertyTypeDescription
name*stringUsed to identify the resolver.
taxonomy*anyRepresents the classification or category associated with the resolver.
com*React.ComponentDefines the React component rendered for this resolver.
isFnCbbooleanSet isFnCb to true The return value is passed as children.
isClosingbooleanJSX when a component or tag is closed.
isWrapperbooleanA component or tag itself does not generate any new content, but simply provides a wrapper around its children or other elements.

You can customize this file according to your UI kit or custom components to fit your specific project needs.

By default, this file is preconfigured for Tamagui, but you can adapt it for any other UI library or design system.