Skip to content

Commit

Permalink
Update the decorators doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Jan 18, 2024
1 parent 654df41 commit 2a82b9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/pages/docs/guides/decorators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Transform.scale(
)
```

<Callout emoji="⚠️">
Important Note: Decorators are a special kind of attribute that can't be inherited for any child widgets.
</Callout>

### Creating a decorator

We can achieve the same effect by creating a custom `**WidgetDecorator**`.
Expand Down

0 comments on commit 2a82b9e

Please sign in to comment.