storybook/docs/snippets/react/mock-context-create.js.mdx
2020-10-07 12:23:34 +08:00

10 lines
156 B
Plaintext

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