storybook/docs/snippets/react/mock-context-create.js.mdx
2021-06-28 23:00:33 +01:00

9 lines
180 B
Plaintext

```js
// ProfilePageContext.js | ProfilePageContext.jsx
import { createContext } from 'react';
const ProfilePageContext = createContext();
export default ProfilePageContext;
```