Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function TextHeadCellAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function TableRowAdapter(props) {
return (
{adapterProps => (
<div>
{(instance, value) =>
value ? instance.select() : instance.deselect()}
{props.children}
</div>
)}
);
)}
);
}
TextCellAdapter.propTypes = {
text: PropTypes.string,
detail: PropTypes.string,
alignment: PropTypes.oneOf(
VanillaTable._partials.TableRow._partials.TextCell.AvailableAlignments
)
};
TextCellAdapter.defaultProps = {
text: undefined,
detail: undefined,
alignment: undefined
};
export default TextCellAdapter;
render() {
return (
{adapterProps => (
<div>
{this.props.children}
</div>
)}
);
render() {
return (
{adapterProps => (
<div>
{this.props.children}
</div>
)}
);
}
}
function TextCellAdapter(props) {
return (
{adapterProps => (
<div>
</div>
function TableHeadAdapter(props) {
return (
{adapterProps => (
<div>
{props.children}
</div>
)}
);
}