mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 23:29:30 +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 TweenOne from 'rc-tween-one';
|
||||||
import GitHubButton from 'react-github-button';
|
import GitHubButton from 'react-github-button';
|
||||||
import 'react-github-button/assets/style.css';
|
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 {
|
export default class Banner extends React.Component {
|
||||||
typeFunc(a) {
|
typeFunc(a) {
|
||||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
|||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
import TweenOne from 'rc-tween-one';
|
import TweenOne from 'rc-tween-one';
|
||||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
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;
|
const clientHeight = document.documentElement.clientHeight;
|
||||||
function onScrollEvent(e) {
|
function onScrollEvent(e) {
|
||||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
|||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
import TweenOne from 'rc-tween-one';
|
import TweenOne from 'rc-tween-one';
|
||||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
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 {
|
export default class Page2 extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
|
@ -2,7 +2,8 @@ import React from 'react';
|
|||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
import TweenOne from 'rc-tween-one';
|
import TweenOne from 'rc-tween-one';
|
||||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
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 {
|
export default class Page3 extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import TweenOne from 'rc-tween-one';
|
import TweenOne from 'rc-tween-one';
|
||||||
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack';
|
||||||
import { QueueAnim } from '../../../';
|
import QueueAnim from 'rc-queue-anim';
|
||||||
|
|
||||||
export default class Page4 extends React.Component {
|
export default class Page4 extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
Reference in New Issue
Block a user