notegraf-web 0.1.1

The reference web frontend of Notegraf
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
import * as React from "react";

export * from "./autosave";
export * from "./datetime";

export function renderTitle(title: string) {
    let className = title ? "" : "italic text-gray-500";
    return (<span className={className}>{title ? title : "no title"}</span>);
}

export function tileInTitle(title: string) {
    return title ? title : "(no title)";
}