Skip to content

Commit 7daefe7

Browse files
committed
fix(core): fixed typos for custom properties
1 parent 1dd438f commit 7daefe7

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.changeset/polite-spoons-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@react-md/core": patch
3+
---
4+
5+
Fixed the custom css properties for window-splitter and max width transition.

packages/core/src/transition/useMaxWidthTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Children, cloneElement, isValidElement } from "react";
77
import { maxWidthTransition } from "./maxWidthTransition.js";
88

99
declare module "react" {
10-
interface CSSProperites {
10+
interface CSSProperties {
1111
"--rmd-max-width"?: string | number;
1212
"--rmd-max-width-gap"?: string | number;
1313
}

packages/core/src/window-splitter/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ declare module "react" {
1212
"--rmd-window-splitter-y"?: string | number;
1313
"--rmd-window-splitter-z"?: string | number;
1414
"--rmd-window-splitter-position"?: string | number;
15-
"--rmd-window-splitter-backgrond-color"?: string;
16-
"--rmd-window-splitter-inactive-backgrond-color"?: string;
15+
"--rmd-window-splitter-background-color"?: string;
16+
"--rmd-window-splitter-inactive-background-color"?: string;
1717
"--rmd-window-splitter-opacity"?: string | number;
1818
}
1919
}

0 commit comments

Comments
 (0)