@tairu/next
Tairu Next.js integration.
Installation
npm install @tairu/next
Route handlers
Use the @tairu/next/server
export to create Tile handlers served by Next.
Type Aliases
TileProps
TileProps:
object
Type declaration
options?
optional
options:LoaderOptions
renderer?
optional
renderer:ReactRenderer
url
url:
string
Functions
Tile()
Tile(
props
):JSX.Element
Parameters
• props: TileProps
Returns
JSX.Element