Closed IlyaKhD closed 1 year ago
Adds IHtmlOptions to extension components options which is required for React.PropsWithChildren
IHtmlOptions
React.PropsWithChildren
import dxValidator, { - Properties as IValidatorOptions + Properties } from "devextreme/ui/validator"; import * as PropTypes from "prop-types"; import { ExtensionComponent as BaseComponent } from "./core/extension-component"; +import { IHtmlOptions } from "./core/component"; import NestedOption from "./core/nested-option"; +type IValidatorOptions = React.PropsWithChildren<Properties & IHtmlOptions>
Removes unnecessary empty object from components options without extra fields
type IBulletOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBulletOptionsNarrowedEvents> & IHtmlOptions & { }>
type IBulletOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBulletOptionsNarrowedEvents> & IHtmlOptions>
Fixes extension components
Adds
IHtmlOptions
to extension components options which is required forReact.PropsWithChildren
Diff
Affects
Beautifies other component options
Removes unnecessary empty object from components options without extra fields
Before
After
Affects