Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev authored Jan 15, 2025
1 parent e50c3d2 commit 675e762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm run build
## Usage

```ts
import { JustifiedLayout, type LayoutOptions } from '@immich/justified-layout-wasm';
import { JustifiedLayout } from '@immich/justified-layout-wasm';

const boxes = [{ width: 160, height: 90 }, { width: 200, height: 100 }, { width: 90, height: 160 }];
const aspectRatios = new Float32Array(boxes.map(({ width, height }) => width / height));
Expand Down

0 comments on commit 675e762

Please sign in to comment.