/** @jsxImportSource @compiled/react */ import { css } from '@compiled/react'; import React from 'react'; @annotation class Annotated extends React.Component { static annotated = false; render() { return Annotated.annotated ? (
Annotation class with green background div
) : (
Annotation did not work!
); } } function annotation(target) { target.annotated = true; return target; } export default Annotated;