Swatch
Инсталација
npm i @stefanlazarevic/components.swatch
или
yarn add @stefanlazarevic/components.swatch
Коришћење
import Swatch from "@stefanlazarevic/components.swatch";
<Swatch />;
API
назив |
тип |
подразумевана вредност |
опис |
aria-selected |
string |
undefined |
read |
className |
string |
"transparent" |
read |
color |
string |
undefined |
read |
disabled |
boolean |
undefined |
read |
id |
string |
undefined |
read |
index |
number |
undefined |
read |
onClick |
function |
undefined |
read |
role |
string |
undefined |
read |
style |
object |
{} |
read |
tabIndex |
number |
undefined |
read |
testid |
string |
undefined |
read |