mirror of
https://github.com/morten-olsen/refocus.dev.git
synced 2026-02-08 00:46:25 +01:00
feat: markdown, github file and UI improvements
This commit is contained in:
17
packages/widgets/src/markdown/index.tsx
Normal file
17
packages/widgets/src/markdown/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Widget } from '@refocus/sdk';
|
||||
import { IoLogoMarkdown } from 'react-icons/io';
|
||||
import { schema } from './schema';
|
||||
import { Edit } from './edit';
|
||||
import { View } from './view';
|
||||
|
||||
const widget: Widget<typeof schema> = {
|
||||
name: 'Markdown',
|
||||
description: 'A markdown note',
|
||||
icon: <IoLogoMarkdown />,
|
||||
id: 'text.markdown',
|
||||
schema,
|
||||
component: View,
|
||||
edit: Edit,
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in New Issue
Block a user