Files
sweet/www/components/WarningBanner.tsx
T
Luca Casonato 80598d07fd feat: use import maps instead of deps files (#209)
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00

17 lines
555 B
TypeScript

/** @jsx h */
import { h } from "$fresh/runtime.ts";
import { tw } from "../utils/twind.ts";
export default function WarningBanner() {
const warning = tw`bg-yellow-100 border(1 yellow-200) p-4 mb-4`;
return (
<div class={warning}>
⚠️ Do not use `fresh` for production usecases yet, unless you are very
actively tracking the `fresh` repository for updates. The framework is
still undergoing very frequent core functionality changes. You can expect
a mostly stable release around the end of May 2022.
</div>
);
}