Files
Ivan Vasilov 436bdb10ae chore: Move the studio app to apps/studio (#18915)
* Move all studio files from /studio to /apps/studio.

* Move studio specific prettier ignores.

* Fix the ui references from studio.

* Fix the css imports.

* Fix all package.json issues.

* Fix the prettier setup for the studio app.

* Add .turbo folder to prettierignore.

* Fix the github workflows.
2023-11-15 12:38:55 +01:00

23 lines
654 B
TypeScript

import SVG from 'react-inlinesvg'
import { BASE_PATH } from 'lib/constants'
// [Joshen] To be deprecated in favor of NoSearchResults in components/ui
export const NoSearchResults = () => {
return (
<div className="flex h-64 flex-col items-center justify-center">
<SVG
src={`${BASE_PATH}/img/no-search-results.svg`}
preProcessor={(code) =>
code.replace(/svg/, 'svg className="mb-2 w-16 h-16 text-color-inherit"')
}
/>
<p className="w-64 text-center text-sm opacity-50">
Hmm, we couldn't find any results that match your query.
</p>
</div>
)
}
export default NoSearchResults