2019-09-13 10:45:49 +00:00
|
|
|
import React from "react";
|
2019-09-09 09:08:54 +00:00
|
|
|
import { ComponentProps } from "./BaseComponent";
|
|
|
|
|
import { Container } from "./ContainerComponent";
|
2019-09-13 10:45:49 +00:00
|
|
|
import { RadioOption } from "../widgets/RadioGroupWidget";
|
2019-08-29 11:22:09 +00:00
|
|
|
class RadioGroupComponent extends React.Component<RadioGroupComponentProps> {
|
2019-03-21 12:10:32 +00:00
|
|
|
render() {
|
|
|
|
|
return (
|
|
|
|
|
<Container {...this.props}>
|
2019-09-13 10:45:49 +00:00
|
|
|
<div />
|
2019-03-21 12:10:32 +00:00
|
|
|
</Container>
|
2019-09-09 09:08:54 +00:00
|
|
|
);
|
2019-03-21 12:10:32 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-05 17:47:50 +00:00
|
|
|
export interface RadioGroupComponentProps extends ComponentProps {
|
2019-08-29 11:22:09 +00:00
|
|
|
label: string;
|
2019-09-13 10:45:49 +00:00
|
|
|
options: RadioOption[];
|
|
|
|
|
defaultOptionValue: string;
|
2019-03-21 12:10:32 +00:00
|
|
|
}
|
|
|
|
|
|
2019-09-09 09:08:54 +00:00
|
|
|
export default RadioGroupComponent;
|