import * as React from 'react';
import FormRowItem from './FormRowItem';
import type {FormRowItemProps} from './FormRowItem';
export default class FormRowItemGroup extends React.Component<{
label?: string;
width?: FormRowItemProps['width'];
}> {
getLabel(): React.ReactNode {
const {label} = this.props;
if (label) {
return ;
}
return undefined;
}
render() {
const {children, width} = this.props;
return (
{this.getLabel()}
{children}
);
}
}