Skip to content

Commit

Permalink
Merge pull request #92 from retejs/deprecation-label
Browse files Browse the repository at this point in the history
fix: deprecate delay option
  • Loading branch information
Ni55aN authored Feb 23, 2025
2 parents bafe4b9 + 0891d55 commit 7ae22dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export * as Presets from './presets'
* @priority 8
*/
export type Props<Schemes extends BaseSchemes> = {
/** delay before hiding context menu */
/**
* delay before hiding context menu
* @deprecated Use the `delay` option of the rendering plugin preset.
*/
delay?: number
/** menu items, can be produced by preset */
items: Items<Schemes>
Expand Down

0 comments on commit 7ae22dd

Please sign in to comment.