@cagatayfdn/flora-components 0.0.24 → 0.0.26
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/dist/index.cjs.js +48 -35
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.es.js +5674 -5508
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +46 -33
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { ReactNode } from 'react';
|
|
|
18
18
|
import { SelectItemRenderer } from 'react-dropdown-select';
|
|
19
19
|
import { SetStateAction } from 'react';
|
|
20
20
|
import { TFunction } from 'i18next';
|
|
21
|
+
import { TFunctionResult } from 'i18next';
|
|
21
22
|
|
|
22
23
|
export declare const Accordion: ({ children, className, }: AccordionProps) => JSX.Element;
|
|
23
24
|
|
|
@@ -269,6 +270,23 @@ declare type ConfirmProps = {
|
|
|
269
270
|
cancelBtnText?: string;
|
|
270
271
|
};
|
|
271
272
|
|
|
273
|
+
export declare const ContentHeader: (props: ContentHeaderProps) => JSX_2.Element;
|
|
274
|
+
|
|
275
|
+
declare type ContentHeaderProps = {
|
|
276
|
+
title?: string | ReactNode | TFunctionResult;
|
|
277
|
+
leftComponent?: ReactNode;
|
|
278
|
+
rightClassName?: string;
|
|
279
|
+
leftClassName?: string;
|
|
280
|
+
titleWrapperClassName?: string;
|
|
281
|
+
titleClassName?: string;
|
|
282
|
+
description?: string;
|
|
283
|
+
component?: ReactNode;
|
|
284
|
+
isActiveBorder?: boolean;
|
|
285
|
+
isLoading?: boolean;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
export declare const ContentLoader: () => JSX.Element;
|
|
289
|
+
|
|
272
290
|
export declare enum CopyTextStatusEnum {
|
|
273
291
|
SUCCESS = "success",
|
|
274
292
|
ERROR = "error"
|