@cagatayfdn/flora-components 0.0.40 → 0.0.41

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.d.ts CHANGED
@@ -1194,8 +1194,27 @@ declare type StepperProps = {
1194
1194
  onChange?: (index: number, event?: any) => void;
1195
1195
  };
1196
1196
 
1197
+ export declare const Switch: React_2.ForwardRefExoticComponent<{
1198
+ name: string;
1199
+ label?: string | undefined;
1200
+ checked?: boolean | undefined;
1201
+ className?: string | undefined;
1202
+ value?: any;
1203
+ onChange?: ((value: boolean) => void) | undefined;
1204
+ onLabelClick?: ((value: boolean) => void) | undefined;
1205
+ checkedChildren?: string | undefined;
1206
+ unCheckedChildren?: string | undefined;
1207
+ } & Omit<FormElementProps, "value"> & Pick<EventProps<HTMLInputElement>, "onClick" | "onFocus"> & React_2.RefAttributes<HTMLInputElement>>;
1208
+
1197
1209
  export declare const t: TFunction;
1198
1210
 
1211
+ export declare function Tab({ items, selected, onChange }: TabProps): JSX_2.Element;
1212
+
1213
+ declare type TabItemProps = {
1214
+ title: string;
1215
+ component: ReactNode | string;
1216
+ };
1217
+
1199
1218
  export declare const Table: (props: TableProps) => JSX.Element;
1200
1219
 
1201
1220
  export declare const TableHeader: ({ totalCount, currentPage, title, actionOnChange, className, pagerOnChange, pageSizeOnChange, pagerVisible, pageSizeVisible, pageSize, actionItems, pageSizeItems, headerLeftItem, appearance, showItemsText, }: TableHeaderProps) => JSX_2.Element;
@@ -1236,6 +1255,12 @@ declare type TableProps = {
1236
1255
  scrollClass?: string;
1237
1256
  } & TableHeaderProps;
1238
1257
 
1258
+ declare type TabProps = {
1259
+ items: TabItemProps[];
1260
+ onChange: (index: number) => void;
1261
+ selected: number;
1262
+ };
1263
+
1239
1264
  export declare enum ThemeAppearance {
1240
1265
  LIGHT = "light",
1241
1266
  DARK = "dark",