ksylvest/tights

View on GitHub
src/support/tag.tsx

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
import type { FC } from "react";
import { property } from "./property";

export const tag = (Component: FC<{ tag?: string }>): void => {
  property("tag", Component, { tag: "p" }, "p");
};