The add card component. used to display icons with a measurement of some kind.

Parameters:
NameTypeDescription
propsobject

Component props.

Properties
NameTypeDescription
buttonAttributesobject

Attributes for the button.

buttonClassesArray

Classes for the button.

customAttributesobject

Custom attributes for the component.

customClassesstring | Array | object

Custom classes for the component.

labelstring

The label for the button.

onClickfunction

The function to call when the button is clicked.

refobject | null

Ref to the component.

Since
  • 5.8.1
Returns:

The add card component.

Type: 
JSX.Element
Example
import AddCard from '@gravityforms/components/react/admin/modules/Cards/AddCard';

return (
    <AddCard />
);