Files
sweet/www/components/WarningBanner.tsx
T
Luca Casonato cbbf616a74 chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00

16 lines
522 B
TypeScript

/** @jsx h */
import { h } from "preact";
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 very soon.
</div>
);
}