Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(useDrauu): spread options for brush #3463

Merged
merged 1 commit into from
Oct 7, 2023

fix: 🧩 useDrauu brush默认值

7e36423
Select commit
Failed to load commit list.
Merged

fix(useDrauu): spread options for brush #3463

fix: 🧩 useDrauu brush默认值
7e36423
Select commit
Failed to load commit list.
Deleted GitHub App / Copilot for PRs succeeded Oct 7, 2023 in 2s

Analysis complete

Summary

Add support for custom brush options in useDrauu integration. Use the ...options?.brush syntax to pass the brush property of the options object to the Drauu constructor.

Walkthrough

  • Add useDrauu function to create a reactive drawing canvas using the Drauu library (link, F

Poem

useDrauu function
Spreads custom brush options
Canvas in the fall

Emoji

🎨🖌️🛠️

Include these descriptions in your pull request description by including the following marker tags:

  • copilot:all: all the content, in one go
  • copilot:summary: a one paragraph summary of the code changes
  • copilot:walkthrough: a step by step walkthrough of the code changes
  • copilot:poem: a poem about the code changes!
  • copilot:emoji: three emoji that capture the changes

Feedback is welcome. Simply add a comment to this PR of the form /copilot feedback [your comments here].

Details

Copilot for PRs is a limited technical preview from GitHub Next.

It's aim is to make it easier to write pull request descriptions by providing automatically generated suggestions based on the code changes.

To find out more go to https://githubnext.com/projects/copilot-for-pull-requests or come and chat with us on Discord

Progress:

File Status Duration
Summary & Walkthrough ✅ Finished 11.2 seconds
packages/integrations/useDrauu/index.ts ✅ Finished 4 seconds