mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-14 00:10:28 +00:00
docs: swizzle root and add feedback component
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import Component from './UserFeedback';
|
||||
import Component from './index';
|
||||
|
||||
export default {
|
||||
title: 'User feedback component',
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user