Dejvino's Curriculum Vitae
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 'use client'
- import React from 'react';
- import { createContext } from 'react';
- import { Person } from '../../Person';
-
- export const PersonContext = createContext(Person);
-
- export function PersonProvider({ children }) {
- return (
- <PersonContext.Provider value={Person}>
- {children}
- </PersonContext.Provider>
- )
- }
|