capy-cli 0.10.0

The command-line interface for the Capy web framework.
Documentation
1
2
3
4
5
6
7
8
9
import type { ComponentType, PropsWithChildren, ReactNode } from 'react'
// capy:provider-imports

const providers: ComponentType<PropsWithChildren>[] = [
  // capy:providers
]
export function ApplicationProviders({ children }: PropsWithChildren) {
  return providers.reduceRight<ReactNode>((content, Provider) => <Provider>{content}</Provider>, children)
}