# Type alias Provider<T>

Provider<T>: ProviderExoticComponent<ProviderProps<T>>

Wraps your components to specify the value of this context for all components inside.

#### Type Parameters

- T

#### See

React Docs

#### Example

    import { createContext } from 'react';

    const ThemeContext = createContext('light');

    function App() {
      return (
        <ThemeContext.Provider value="dark">
          <Toolbar />
        </ThemeContext.Provider>
      );
    }

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:703