UNPKG

curls

Version:

💪 Responsive, expressive UI primitives for React written with Style Hooks and Emotion

9 lines (8 loc) • 396 B
import {css} from '@emotion/core' import {isVisible_ as isSlideVisible} from '../Slide/styles' import {isVisible_ as isFadeVisible, isNotVisible_} from '../Fade/styles' const isVisible_ = /*#__PURE__*/ css(isSlideVisible, ';', isFadeVisible, ';') export const isVisible = v => (v === true ? isVisible_ : isNotVisible_) export {fromRight, fromLeft, fromTop, fromBottom} from '../Slide/styles'