vchikalkin 23017b6205 packages/ui: remove layout params from Background
apps/web: remove Background component usage from pages
2023-11-21 17:49:40 +03:00

16 lines
342 B
TypeScript

/* eslint-disable react/forbid-component-props */
import { Background } from 'ui';
type Props = {
readonly html: string;
};
export function Conditions({ html }: Props) {
return (
<Background
dangerouslySetInnerHTML={{ __html: html }}
className="lg:w-standard grid w-full justify-center p-5 font-[calibri]"
/>
);
}