DocSpace-client/packages/shared/components/selector-add-button/README.md

1.2 KiB

SelectorAddButton

Usage

import { SelectorAddButton } from "@docspace/shared/components";
<SelectorAddButton
  title="Add item"
  onClick={() => console.log("onClose")}
></SelectorAddButton>

Properties

Props Type Required Values Default Description
className string - - - Attribute className
id string - - - Accepts id
isDisabled bool - - false Tells when the button should present a disabled state
onClick function - - - What the button will trigger when clicked
style obj, array - - - Accepts css style
title string - - - Title text