Skip to content

Commit

Permalink
docs: update customization plugins docs (#1554)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Sep 25, 2024
1 parent 84bd284 commit 627e320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/routes/docs/customizability/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export type Plugin = {
};
code?: {
// Happens before formatting
pre?: (code: string) => string;
pre?: (code: string, json: MitosisComponent) => string;
// Happens after formatting
post?: (code: string) => string;
post?: (code: string, json: MitosisComponent) => string;
};
};
```
Expand Down

0 comments on commit 627e320

Please sign in to comment.