mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 17:34:17 +00:00
feat: add store to the notepad
This commit is contained in:
parent
edd53d8102
commit
47a63a774e
2 changed files with 11 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
||||||
export { Notepad } from './notepad';
|
|
||||||
11
src/components/tools/notepad/index.tsx
Normal file
11
src/components/tools/notepad/index.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
import { StoreConsumer } from '@/components/store-consumer';
|
||||||
|
|
||||||
|
import { Notepad as NotepadComponent } from './notepad';
|
||||||
|
|
||||||
|
export function Notepad() {
|
||||||
|
return (
|
||||||
|
<StoreConsumer>
|
||||||
|
<NotepadComponent />
|
||||||
|
</StoreConsumer>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue