import * as React from 'react';
import { ExpressionPreview } from '../../../components/ExpressionEditor/ExpressionPreview';
import { Tag } from '../../../components/Tag';
export const getGridFilterViewItems = (layout) => {
    return {
        name: 'Grid Filter',
        view: (React.createElement(Tag, null,
            React.createElement(ExpressionPreview, { query: { BooleanExpression: layout.GridFilter?.Expression } }))),
    };
};
