DocSpace-client/packages/shared/components/selector-add-button
2024-05-22 17:04:37 +03:00
..
index.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
README.md Client: fix after rewrite to typescript 2023-12-27 17:45:22 +03:00
SelectorAddButton.stories.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
SelectorAddButton.styled.ts Shared:Components:SelectorAddButton: add action state 2024-05-22 17:04:37 +03:00
SelectorAddButton.test.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
SelectorAddButton.tsx Shared:Components:SelectorAddButton: add action state 2024-05-22 17:04:37 +03:00
SelectorAddButton.types.tsx Shared:Components:SelectorAddButton: add action state 2024-05-22 17:04:37 +03:00

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