storybook/docs/snippets/common/custom-docs-page.ts-component.ts.mdx
Norbert de Langen 78a5355aff
cleanup
2022-07-19 10:10:46 +02:00

19 lines
415 B
Plaintext

```ts
// CustomDocumentationComponent.ts|tsx
import React from 'react';
export const CustomDocumentationComponent: React.VFC = () => {
return (
<div>
<h1>Replacing DocsPage with a custom component</h1>
<p>
The Docs page can be customized with your own custom content written as a React Component.
</p>
<p>
Write your own code here👇
</p>
</div>
);
};
```