{"size": 853, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "scottcanoni/react-text-swap-animation", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "scottcanoni/react-text-swap-animation", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "scottcanoni/react-text-swap-animation", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.65625, "max_line_length": 129, "alphanum_fraction": 0.5228604924}
import React from 'react';
import ReactDOM from 'react-dom';
import TextSwap from './lib/components';
import './App.css';

ReactDOM.render(
    <React.StrictMode>
        <div>
            <h1>React Text Swap Animation</h1>
            <h2>Demo</h2>

            <TextSwap fontToObserve={{ family: 'Open Sans' }} />

            <br/>
            <br/>

            <TextSwap fontToObserve={{ family: 'Open Sans' }} words={["a witty saying", "proves nothing"]}  />

            <br/>
            <br/>

            <TextSwap fontToObserve={{ family: 'Open Sans' }} words={["don't be sad it's over", "be happy that it happened"]}  />

            <br/>
            <br/>

            <TextSwap fontToObserve={{ family: 'Open Sans' }} words={["debit card", "bad credit"]} />
        </div>
    </React.StrictMode>,
    document.getElementById('root'),
);
