mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
use rc-queue-anim in site
This commit is contained in:
parent
261661bffe
commit
7d3ce97cc8
@ -4,7 +4,8 @@ import ScrollElement from 'rc-scroll-anim/lib/ScrollElement';
|
||||
import TweenOne from 'rc-tween-one';
|
||||
import GitHubButton from 'react-github-button';
|
||||
import 'react-github-button/assets/style.css';
|
||||
import { QueueAnim, Icon } from '../../../';
|
||||
import { Icon } from '../../../';
|
||||
import QueueAnim from 'rc-queue-anim';
|
||||
|
||||
export default class Banner extends React.Component {
|
||||
typeFunc(a) {
|
||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import TweenOne from 'rc-tween-one';
|
||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
||||
import { QueueAnim, Icon, Button } from '../../../';
|
||||
import { Icon, Button } from '../../../';
|
||||
import QueueAnim from 'rc-queue-anim';
|
||||
|
||||
const clientHeight = document.documentElement.clientHeight;
|
||||
function onScrollEvent(e) {
|
||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import TweenOne from 'rc-tween-one';
|
||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
||||
import { QueueAnim, Icon, Button } from '../../../';
|
||||
import { Icon, Button } from '../../../';
|
||||
import QueueAnim from 'rc-queue-anim';
|
||||
|
||||
export default class Page2 extends React.Component {
|
||||
render() {
|
||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import TweenOne from 'rc-tween-one';
|
||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
||||
import { QueueAnim, Icon, Button } from '../../../';
|
||||
import { Icon, Button } from '../../../';
|
||||
import QueueAnim from 'rc-queue-anim';
|
||||
|
||||
export default class Page3 extends React.Component {
|
||||
render() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import TweenOne from 'rc-tween-one';
|
||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
||||
import { QueueAnim } from '../../../';
|
||||
import QueueAnim from 'rc-queue-anim';
|
||||
|
||||
export default class Page4 extends React.Component {
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user