DocSpace-buildtools/packages/asc-web-components/selector-add-button/README.md
2021-02-26 00:19:45 +03:00

1.2 KiB

SelectorAddButton

Usage

import SelectorAddButton from "@appserver/components/selector-add-button";
<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