@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
13 lines (12 loc) • 392 B
JavaScript
import * as React from 'react';
import { Flex } from 'rebass';
import join from '../utils/join';
const defaulProps = {
flexDirection: 'row',
alignItems: 'center',
};
const FieldWrap = (props) => {
const flexProps = { ...defaulProps, ...props };
return React.createElement(Flex, { ...flexProps, className: join(props.className, 'ab-FieldWrap') });
};
export default FieldWrap;