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

[Chore]: Technical: fix attributes of styled components animation-control #1829

Merged
merged 4 commits into from May 25, 2022

Conversation

jagerts
Copy link
Collaborator

@jagerts jagerts commented May 17, 2022

Signed-off-by: Evgeny Zhgulev evgeny.zhgulev@actionengine.com

Signed-off-by: Evgeny Zhgulev <evgeny.zhgulev@actionengine.com>
@jagerts jagerts requested a review from heshan0131 May 17, 2022 21:12
Signed-off-by: Evgeny Zhgulev <evgeny.zhgulev@actionengine.com>
className: 'animation-control__time-domain'
})`
const StyledDomain = styled.div.attrs(props => ({
className: `animation-control__time-domain${props.className ? ` ${props.className}` : ''}`
Copy link
Contributor

Choose a reason for hiding this comment

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

use classnames modules to compose classes instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

className: 'floating-time-display__inner'
})`
const StyledTimeDisplay = styled.div.attrs(props => ({
className: `floating-time-display__inner${props.className ? ` ${props.className}` : ''}`
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@jagerts jagerts requested a review from heshan0131 May 24, 2022 08:59
@jagerts jagerts merged commit e27cf13 into master May 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the ez/add-types-styled-animation-control branch May 25, 2022 08:32
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.

None yet

2 participants