Generate Token through Auth0
This commit is contained in:
14
front/src/components/__stories__/RequireAuth.stories.tsx
Normal file
14
front/src/components/__stories__/RequireAuth.stories.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import RequireAuth from '../RequireAuth';
|
||||
|
||||
import Navbar from '../RequireAuth';
|
||||
|
||||
export default {
|
||||
title: 'RequireAuth',
|
||||
component: Navbar,
|
||||
};
|
||||
|
||||
export const RequireAuthWithHelloChild = () => (
|
||||
<RequireAuth>
|
||||
<div>Hello</div>
|
||||
</RequireAuth>
|
||||
);
|
||||
Reference in New Issue
Block a user