design-react-kit 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.EN.md +1 -1
- package/README.md +1 -1
- package/dist/cjs/index-dc46473e.js.map +1 -1
- package/dist/esm/index-82182399.js.map +1 -1
- package/dist/types/Accordion/Accordion.d.ts +2 -2
- package/dist/types/Accordion/AccordionHeader.d.ts +2 -2
- package/dist/types/Accordion/AccordionItem.d.ts +2 -2
- package/dist/types/index-dc46473e.js.map +1 -1
- package/package.json +2 -2
- package/src/Accordion/Accordion.tsx +2 -2
- package/src/Accordion/AccordionHeader.tsx +2 -2
- package/src/Accordion/AccordionItem.tsx +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementType, FC } from 'react';
|
|
2
|
-
export interface AccordionProps {
|
|
1
|
+
import { ElementType, FC, HTMLAttributes } from 'react';
|
|
2
|
+
export interface AccordionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
4
4
|
tag?: ElementType;
|
|
5
5
|
/** Classi aggiuntive da usare per il componente Badge */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC,
|
|
2
|
-
export interface AccordionHeaderProps {
|
|
1
|
+
import { ElementType, FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface AccordionHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
4
4
|
tag?: ElementType;
|
|
5
5
|
/** Classi aggiuntive da usare per il componente AccordionHeader */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ElementType, FC } from 'react';
|
|
2
|
-
export interface AccordionItemProps {
|
|
1
|
+
import { ElementType, FC, HTMLAttributes } from 'react';
|
|
2
|
+
export interface AccordionItemProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
4
4
|
tag?: ElementType;
|
|
5
5
|
/** Classi aggiuntive da usare per il componente */
|