Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Animation not working #5

@afzydev

Description

@afzydev

Hi

Thanks for awesome library .
Please have a look on my code given below and tell me if any correction required to do so .Please tell me i am at my office and my boss told me to so and i am in a hurry.


import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import { bounce } from 'react-animations';
import Radium from 'radium';

class App extends Component {
  render() {
    const styles = {
      bounce: {
        animation: 'x 1s',
        animationName: Radium.keyframes(bounce, 'bounce')
      }
    }
    return (
      <div className="App">
        <div className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <h2>Welcome to React</h2>
        </div>
        <p className="App-intro" style={styles.bounce}>
          To get started, edit <code>src/App.js</code> and save to reload.
        </p>
      </div>
    );
  }
}

Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions