📜  手风琴 reatjs - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:52.898000             🧑  作者: Mango

代码示例4
import React from "react";
import Accordion from "./Accordion";
import { accordionData } from "./data";

const App = () => {
  return (
    
    {accordionData.map(({ heading, content }) => ( ))}
); }; export default App;