Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 409 Bytes

animation-normal.md

File metadata and controls

12 lines (10 loc) · 409 Bytes
const animationName = ['fade', 'scale-up', 'scale-down', 'slide-top', 'slide-bottom', 'slide-left', 'slide-right', 'shake']

animationName.map(name => (
  <ClLayout key={name} margin='normal' marginDirection='around'>
    <ClAnimation type={name === nowName ? name : ''} >
      <ClButton long shape='round' onClick={() => {showAnimation(name)}} text={name} />
    </ClAnimation>
  </ClLayout>
))