mirror of
https://github.com/morten-olsen/refocus.dev.git
synced 2026-02-08 00:46:25 +01:00
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
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;
|