index.jsx 246 B

12345678910
  1. import { Dropdown, Avatar } from '../../..';
  2. import React from 'react';
  3. export default function Demo() {
  4. return (
  5. <Dropdown render={<article>hhihhihihiiihi</article>}>
  6. <Avatar>头像</Avatar>
  7. </Dropdown>
  8. );
  9. }