MCPcopy Create free account
hub / github.com/api-platform/website / ContentFormatter

Function ContentFormatter

pwa/components/common/ContentFormatter.tsx:5–12  ·  view source on GitHub ↗
({
  children,
  className,
}: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>)

Source from the content-addressed store, hash-verified

3import styles from "./ContentFormatter.module.css";
4
5export default function ContentFormatter({
6 children,
7 className,
8}: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>) {
9 return (
10 <div className={classNames(className, styles.content)}>{children}</div>
11 );
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected