Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Symbols and overrides #129

Merged
merged 3 commits into from
Oct 22, 2020
Merged

Conversation

SuperGNUS
Copy link
Contributor

Lots of changes.

Symbol names from MasterSymbol are added and when name collisions happen it appends number for unique name.

Overrides for symbols are passed in as optional parameters to the Master Symbol.

Symbol instance now wraps the SymbolMaster in a LayoutBuilder to pass constraints in, this works currently but not if the page only has one symbol in it, because it doesn't wrap a flex object on Symbol only artboards. I'll look into that next.

return child.name ?? 'var';
}
}
// this should never happen.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like me!😂

Copy link
Member

@x64Eddie x64Eddie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

Copy link
Member

@siliconivan siliconivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@x64Eddie x64Eddie merged commit 84b1be3 into Parabeac:dev Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Overrides in Widgets Add LayoutBuilder to Widgets to utilize constraints.
4 participants