mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
docs: swizzle root and add feedback component
This commit is contained in:
parent
105f3bac21
commit
0160eb8ef3
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Component from './UserFeedback';
|
import Component from './index';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'User feedback component',
|
title: 'User feedback component',
|
||||||
|
13
website/src/theme/Root.js
Normal file
13
website/src/theme/Root.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import UF from '@site/src/components/UserFeedback';
|
||||||
|
|
||||||
|
// Default implementation, that you can customize
|
||||||
|
function Root({ children }) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{children} <UF />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Root;
|
Loading…
Reference in New Issue
Block a user