zavadil-react-common 2.1.8 → 2.1.9
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
|
@@ -75,7 +75,7 @@ type ElapsedProps = {
|
|
|
75
75
|
};
|
|
76
76
|
declare function Elapsed({ date }: ElapsedProps): react_jsx_runtime.JSX.Element;
|
|
77
77
|
|
|
78
|
-
type
|
|
78
|
+
type FormRowProps = PropsWithChildren & {
|
|
79
79
|
label: string;
|
|
80
80
|
};
|
|
81
81
|
|
|
@@ -347,4 +347,4 @@ type LocalizeProps = {
|
|
|
347
347
|
};
|
|
348
348
|
declare function Localize({ text, tag }: LocalizeProps): react_jsx_runtime.JSX.Element;
|
|
349
349
|
|
|
350
|
-
export { type ActiveButtonProps, AdvancedTable, type AdvancedTableProps, AutocompleteEntityIdSelect, AutocompleteEntitySelect, type AutocompleteEntitySelectProps, type AutocompleteIdSelectProps, AutocompleteLookupIdSelect, type AutocompleteLookupIdSelectProps, AutocompleteLookupSelect, type AutocompleteLookupSelectProps, AutocompleteSelect, type AutocompleteSelectProps, type BasicDialogProps, CacheStatsControl, type CacheStatsControlProps, ConfirmDialog, ConfirmDialogContext, ConfirmDialogContextData, type ConfirmDialogProps, DateInput, type DateInputProps, DateTime, DateTimeInput, type DateTimeInputProps, type DateTimeProps, DeleteButton, type DeleteButtonProps, Duration, type DurationProps, Elapsed, type ElapsedProps, EntityIdSelect, type EntityIdSelectProps, EntitySelect, type EntitySelectProps, EntityWithNameIdSelect, type EntityWithNameIdSelectProps, EntityWithNameSelect, type EntityWithNameSelectProps, EnumSelect, type EnumSelectProps, type
|
|
350
|
+
export { type ActiveButtonProps, AdvancedTable, type AdvancedTableProps, AutocompleteEntityIdSelect, AutocompleteEntitySelect, type AutocompleteEntitySelectProps, type AutocompleteIdSelectProps, AutocompleteLookupIdSelect, type AutocompleteLookupIdSelectProps, AutocompleteLookupSelect, type AutocompleteLookupSelectProps, AutocompleteSelect, type AutocompleteSelectProps, type BasicDialogProps, CacheStatsControl, type CacheStatsControlProps, ConfirmDialog, ConfirmDialogContext, ConfirmDialogContextData, type ConfirmDialogProps, DateInput, type DateInputProps, DateTime, DateTimeInput, type DateTimeInputProps, type DateTimeProps, DeleteButton, type DeleteButtonProps, Duration, type DurationProps, Elapsed, type ElapsedProps, EntityIdSelect, type EntityIdSelectProps, EntitySelect, type EntitySelectProps, EntityWithNameIdSelect, type EntityWithNameIdSelectProps, EntityWithNameSelect, type EntityWithNameSelectProps, EnumSelect, type EnumSelectProps, type FormRowProps, type GenericSelectOption, type GenericSelectProps, type HeaderCol, IconButton, type IconButtonProps, IconSwitch, type IconSwitchProps, JavaHeapControl, LoadingButton, LocalizationContext, Localize, type LocalizeProps, LookupSelect, type LookupSelectProps, NumberSelect, type NumberSelectProps, QueueStateControl, type QueueStateControlProps, QueueStatsControl, type QueueStatsControlProps, type RenderFunc, type RenderResult, SaveButton, type SaveButtonProps, type SelectableHeaderCol, type SelectableItem, type SelectableTableHeader, Spread, type SpreadProps, StringSelect, type StringSelectProps, Switch, type SwitchProps, type TableHeader, TablePagination, type TablePaginationProps, TablePlaceholder, type TablePlaceholderProps, TableWithSelect, type TableWithSelectProps, TextInputWithReset, type TextInputWithResetProps, UserAlertTypeIcon, type UserAlertTypeIconProps, UserAlertWidget, type UserAlertWidgetProps, UserAlertsWidget, type UserAlertsWidgetProps, type WorkerJavaHeapControlProps };
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@ import { PropsWithChildren } from "react";
|
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { Localize } from "../localization";
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type FormRowProps = PropsWithChildren & {
|
|
6
6
|
label: string;
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
export default function
|
|
9
|
+
export default function FormRow({ label, children }: FormRowProps) {
|
|
10
10
|
return (
|
|
11
11
|
<Form.Group>
|
|
12
12
|
<Form.Label>
|