@yarcl/react
    Preparing search index...

    Function useRecipe

    • Applies a configured recipe to custom markup while retaining extra behavior and native props.

      Type Parameters

      • N extends never
      • P extends object

      Parameters

      Returns {
          rootProps: Omit<
              P,
              keyof Axes<Extract<Record<never, never>[N], RecipeDefinition>>,
          > & { className: string };
          slots: { [S in string | number | symbol]: string };
      }