Dmitriy Pleshevskiy
890c1f74ed
All checks were successful
continuous-integration/drone/push Build is passing
Closes #1 Reviewed-on: #2 Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me> Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
6 lines
173 B
TypeScript
6 lines
173 B
TypeScript
import { classNames } from "ren/attrs.ts";
|
|
import { E, Elem } from "ren/node.ts";
|
|
|
|
export function H3(text: string): Elem {
|
|
return E("h3", classNames("font-h3"), text);
|
|
}
|