Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Mateus Felix thebinaryfelix

⚛️
Reacting
Developer at @grupoboticario
View GitHub Profile
thebinaryfelix / ProviderComposer.tsx
Last active August 23, 2024 14:40
Component for composing providers in React v18 with Typescript
export interface IProviderComposerProps extends React.PropsWithChildren {
/**
* Providers list
* */
with: React.FC<React.PropsWithChildren>[]
}
const ComposerFragment: React.FC<React.PropsWithChildren> = ({
children,
}): JSX.Element => <>{children}</>

AltStyle によって変換されたページ (->オリジナル) /