React antd实现走马灯Carousel

import React from 'react'
import { Card, Carousel } from 'antd'
import './ui.less'

export default function MyCarousel() {

  const textStyle = {
    height: '160px',
    color: '#fff',
    lineHeight: '160px',
    textAlign: 'center',
    background: '#364d79',
  };

  const picStyle = {
    textAlign: 'center',
    height: '300px',
    width: '100%',
    background: '#364d79',
    overflow: 'hidden',

  };

  return (
    

React

Vue

Angular

) }

你可能感兴趣的:(React,antd,react.js,javascript)