Skip to content

feat: add layout (fit/align) prop to DotLottie#65

Merged
samuelOsborne merged 3 commits into
mainfrom
feat/layout-prop
Jun 16, 2026
Merged

feat: add layout (fit/align) prop to DotLottie#65
samuelOsborne merged 3 commits into
mainfrom
feat/layout-prop

Conversation

@theashraf

@theashraf theashraf commented Jun 15, 2026

Copy link
Copy Markdown
Member

Adds a layout prop ({ fit, align }) to the DotLottie component and forwards it to the native iOS/Android players and the web implementation. Includes shared types and an example demonstrating the fit modes.

Fixes #64

@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ab1d35f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@lottiefiles/dotlottie-react-native Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@theashraf theashraf force-pushed the feat/layout-prop branch 2 times, most recently from 303f8da to 7df98c9 Compare June 15, 2026 06:35
@samuelOsborne samuelOsborne self-requested a review June 16, 2026 10:27
@samuelOsborne samuelOsborne merged commit f8545a0 into main Jun 16, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a fit prop

2 participants