DocSpace-client/packages/shared/components/selector-add-button
2023-12-25 11:08:54 +03:00
..
index.tsx Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
README.md Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
SelectorAddButton.stories.tsx Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
SelectorAddButton.styled.ts Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
SelectorAddButton.test.tsx Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
SelectorAddButton.tsx Shared:Components:SelectorAddButton: rewrite to typescipt 2023-12-21 16:30:53 +03:00
SelectorAddButton.types.tsx Shared:Components:DatePicker: rewrite to typescript 2023-12-25 11:08:54 +03:00

SelectorAddButton

Usage

import SelectorAddButton from "@docspace/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