Skip to content

Commit

Permalink
Improving buildTransform type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Nov 1, 2022
1 parent 74a8aeb commit f55fd95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Framer Motion adheres to [Semantic Versioning](http://semver.org/).

Undocumented APIs should be considered internal and may change without warning.

## [7.6.4] 2022-11-01

### Fixed

- Updated `buildTransform` types to only expect required arguments.

## [7.6.3] 2022-11-01

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ const sortTransformProps = (a: string, b: string) =>
* providing a transformTemplate function.
*/
export function buildTransform(
{ transform, transformKeys }: HTMLRenderState,
{
transform,
transformKeys,
}: Pick<HTMLRenderState, "transform" | "transformKeys">,
{
enableHardwareAcceleration = true,
allowTransformNone = true,
Expand Down

0 comments on commit f55fd95

Please sign in to comment.