import * as React from "../../react"; import CoreViewModel from "../../ViewModel/Global/coreViewModel"; export function NewItemEntry(coreViewModel: CoreViewModel, query: React.State, fn: ()=>void) { const isHidden = React.createProxyState([query],()=>query.value == ""); const label = React.createProxyState([query],()=>coreViewModel.translations.general.createLabel(query.value)); return }