Bundle Copy

This commit is contained in:
ItsSelis
2023-05-23 17:43:01 +02:00
parent 8aad48f508
commit 3da68ee1b6
420 changed files with 47669 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/* eslint react/no-danger: "off" */
import { useBackend } from '../../backend';
import { Box, Button, Section } from '../../components';
export const pda_notekeeper = (props, context) => {
const { act, data } = useBackend(context);
const { note } = data;
return (
<Box>
<Section>
{/* As usual with dangerouslySetInnerHTML,
this notekeeper was designed to use HTML injection.
Fix when markdown is easier. */}
<div dangerouslySetInnerHTML={{ __html: note }} />
</Section>
<Button icon="pen" onClick={() => act('Edit')} content="Edit Notes" />
</Box>
);
};