chore: update package.json and readme
This commit is contained in:
@@ -66,7 +66,7 @@ function renderFrame(context: CanvasRenderingContext2D, frame: TextFrame, clear:
|
||||
// cjs
|
||||
// const { computeTextFrames, renderFrame } = require('@mattuy/text-frame');
|
||||
// or esm
|
||||
import { computeTextFrames, renderFrame } from '@mattuy/text-frame/esm';
|
||||
import { computeTextFrames, renderFrame } from '@mattuy/text-frame';
|
||||
|
||||
const frames = computeTextFrames({
|
||||
viewWidth: 320,
|
||||
|
||||
Reference in New Issue
Block a user