provider

Path to your provider component for global & environment configuration.

Usage

Pass a relative path to your provider component that is the default export.

.triplex/config.json
{
  "provider": "./provider.tsx"
}
.triplex/provider.tsx
export default function ProviderComponent({
  children,
}: {
  children?: React.ReactNode;
}) {
  return children;
}
Was this page helpful?