@cagatayfdn/flora-components 0.0.25 → 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 +36 -36
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.es.js +5317 -5248
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +34 -34
- 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,21 @@ 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
|
+
|
|
272
288
|
export declare const ContentLoader: () => JSX.Element;
|
|
273
289
|
|
|
274
290
|
export declare enum CopyTextStatusEnum {
|