mirror of
https://github.com/maputnik/editor.git
synced 2026-07-15 02:17:27 +00:00
cf54b6fdeb
## Launch Checklist Update style-spec package to version 26.1 This should solve a problem related to expression validation. - [x] Briefly describe the changes in this PR. - [x] Link to related issues.
18 lines
433 B
TypeScript
18 lines
433 B
TypeScript
import { InputDynamicArray, type InputDynamicArrayProps } from "./InputDynamicArray";
|
|
import { Fieldset } from "./Fieldset";
|
|
|
|
type FieldDynamicArrayProps = InputDynamicArrayProps & {
|
|
name?: string;
|
|
fieldSpec?: {
|
|
value?: string;
|
|
}
|
|
};
|
|
|
|
export const FieldDynamicArray: React.FC<FieldDynamicArrayProps> = (props) => {
|
|
return (
|
|
<Fieldset label={props.label}>
|
|
<InputDynamicArray {...props} />
|
|
</Fieldset>
|
|
);
|
|
};
|