Files
huly-platform/plugins/view-resources/src/components/SearchSelector.svelte
T
2024-04-03 20:45:05 +07:00

19 lines
488 B
Svelte

<script lang="ts">
import { IconSearch } from '@hcengineering/ui'
import { showPopup } from '@hcengineering/ui/src/popups'
import ActionsPopup from './ActionsPopup.svelte'
function openPopup () {
showPopup(ActionsPopup, {}, 'top')
}
</script>
<button
id="statusbar-search"
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
on:click={openPopup}
style:color={'var(--theme-dark-color)'}
>
<IconSearch size={'small'} />
</button>