Trying to create settings.tsx for Experience Builder Widget version 1.10.
Using function syntax:
export default function Setting(props: AllWidgetSettingProps<IMConfig>){
...
However props.useMapWidgetIds, which should contain list of maps on the current page, is null.
In version 1.05 function syntax works, and props.useMapWidgetIds is not null.
Also in 1.10 if use class syntax,
export default class Setting extends React.PureComponent<
AllWidgetSettingProps<IMConfig>,
any
> {
...
then this.props.useMapWidgetIds is not null/undefined.