-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add standard timing functions #3
Comments
@kof and where for example, should be placed it can be in import { timing } from 'css-functions'
const styles = {
container: {
transition: {
timingFunction: timing.frames(10),
}
}
} or this function should be also available as import { frames } from 'css-functions' |
Just thought about it, actually ease-in-out is not a function call, its the function name or a constant. Not sure if they are actually a good fit here. A |
Also in css all those things are in a global name space, we don't even need to scope them, they can't conflict: |
It just doesn't make much sense to import them, because there is not much benefit vs. just using a string directly. |
For e.g.
ease-in-out
Example with JSS:
The text was updated successfully, but these errors were encountered: