import { Col, Row, Typography } from 'antd'; import { usePlugin } from 'flipper-plugin'; import React from 'react'; import { plugin } from '..'; import { SortedObjectSchema } from '../CommonTypes'; import { ObjectAdd } from './objectManipulation/ObjectAdd'; import { RealmQueryInput } from './Query'; type InputType = { currentSchema: SortedObjectSchema; totalObjects: number; }; export const DataTabHeader = ({ currentSchema, totalObjects }: InputType) => { const { executeQuery } = usePlugin(plugin); return ( {currentSchema ? {totalObjects} {currentSchema.name} objects : null} ); };