@cfinnestad/react-form-builder 1.0.8 → 1.0.10

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.
@@ -37,7 +37,6 @@ export type BaseItem = {
37
37
  id: string;
38
38
  type: string;
39
39
  filter?: FilterType;
40
- ClassName?: string;
41
40
  custom?: {
42
41
  [key: string]: any;
43
42
  };
@@ -122,6 +121,7 @@ export type SubmitItem = BaseItem & {
122
121
  type: 'Submit';
123
122
  submitElementName?: string;
124
123
  label?: string;
124
+ color?: string;
125
125
  };
126
126
  export type GroupItem = NamedItem & {
127
127
  type: 'Group';
@@ -4,7 +4,7 @@ export type SubmitButtonProps = {
4
4
  items: AnyItem[];
5
5
  options: Options;
6
6
  label?: string;
7
- className?: string;
7
+ color?: string;
8
8
  };
9
9
  export type SubmitButtonElement = (props: SubmitButtonProps) => JSX.Element;
10
10
  declare const Submit: ({ item, items, options }: SubmitProps) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { SubmitButtonProps } from "../Items";
3
- export declare const Submit: ({ items, options, className }: SubmitButtonProps) => React.JSX.Element;
3
+ export declare const Submit: ({ items, options, color }: SubmitButtonProps) => React.JSX.Element;