Skip to content

Commit

Permalink
update api: add type MouseEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
rambip committed Nov 29, 2023
1 parent 69c7fc9 commit cfd7449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ impl<'a> Context<'a, 'static> for &'a __MdProps {

type Setter<T: 'static> = WriteSignal<T>;

type MouseEvent = MouseEvent;

fn props(self) -> rust_web_markdown::MarkdownProps<'a, 'static, Self> {
rust_web_markdown::MarkdownProps {
components: &self.components,
Expand Down

0 comments on commit cfd7449

Please sign in to comment.