xylabs/sdk-react

View on GitHub
packages/shared/src/contextEx/ContextExProviderProps.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { PropsWithChildren } from 'react'

export type EmptyObject = {}

export type ContextExProviderProps<T extends EmptyObject = EmptyObject> = PropsWithChildren<
  {
    required?: boolean
  } & T
>