PromucFlow_constructor/app/client/src/editorComponents/RadioGroupComponent.tsx

22 lines
552 B
TypeScript
Raw Normal View History

import React from "react";
2019-09-09 09:08:54 +00:00
import { ComponentProps } from "./BaseComponent";
import { Container } from "./ContainerComponent";
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}>
<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;
options: RadioOption[];
defaultOptionValue: string;
2019-03-21 12:10:32 +00:00
}
2019-09-09 09:08:54 +00:00
export default RadioGroupComponent;