资源中枢cont.

This commit is contained in:
黄心宇 2025-12-12 11:29:41 +08:00
parent d6987d7c6c
commit d29a019895
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,17 @@
import React from 'react';
import './index.scss';
/**
*
* @param {
* children: React.ReactNode, //
* className: string, //
* padding: string, //
* borderRadius: string, //
* backgroundColor: string, //
* } props
* @returns
*/
function ActionItem(props) {
const childrenArray = React.Children.toArray(props.children);
const contentChild = childrenArray[0];