Skip to content

Commit d3b5473

Browse files
RadioProps now extends BaseContainerProps. (#110)
* RadioProps now extends BaseContainerProps. * Import path updated.
1 parent 22b3caa commit d3b5473

File tree

2 files changed

+83
-86
lines changed

2 files changed

+83
-86
lines changed

common/config/rush/npm-shrinkwrap.json

+77-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react-forms-dom/src/components/radio.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import * as React from "react";
22
import * as PropTypes from "prop-types";
33

4-
import { BaseContainer, BaseContainerParentContext } from "@simplr/react-forms";
4+
import {
5+
BaseContainer,
6+
BaseContainerParentContext,
7+
BaseContainerProps
8+
} from "@simplr/react-forms";
59
import {
610
FormStoreStateRecord,
711
FieldValue,
@@ -19,7 +23,7 @@ import {
1923
DomComponentData
2024
} from "../contracts/field";
2125

22-
export interface RadioProps extends HTMLElementProps<HTMLInputElement> {
26+
export interface RadioProps extends BaseContainerProps, HTMLElementProps<HTMLInputElement> {
2327
value: string;
2428

2529
template?: DomFieldTemplateCallback;

0 commit comments

Comments
 (0)