Skip to content

Change euiCanAnimate to a constant - #29

Merged
elizabetdev merged 1 commit into
elizabetdev:beacon-emotionfrom
thompsongl:beacon-emotion
Apr 21, 2022
Merged

elizabetdev merged 1 commit into
elizabetdev:beacon-emotionfrom
thompsongl:beacon-emotion

Conversation

@thompsongl

@thompsongl thompsongl commented Apr 20, 2022 •

Copy link
Copy Markdown

css(euiCanAnimate(content)) -> css'${euiCanAnimate} {content}'

cc// @chandlerprall @cchaos

We still have the option to keep this a function, but the conditional css wrapper seems confusing to me. Also, no way to keep the className chaining tidy with the conditional css wrapper.

@thompsongl thompsongl mentioned this pull request Apr 20, 2022
7 tasks done
>
<div
class="euiBeacon euiTour__beacon css-se6i5w-euiBeacon-euiCanAnimate-euiBeacon"
class="euiBeacon euiTour__beacon css-c8h4zr-euiBeacon"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Huzzah!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Much better! 🎉 Thanks @thompsongl!

@elizabetdev
elizabetdev merged commit 0fa006b into elizabetdev:beacon-emotion Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants