Skip to content

Commit 6afbfb2

Browse files
committed
fix: properly merge config props with default config
1 parent 1d74e60 commit 6afbfb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/solid-snowfall/src/Snowfall.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const Snowfall: Component<SnowfallProps> = (props) => {
2626
["snowflakeCount", "style"],
2727
);
2828

29-
const config = mergeProps(configProps, defaultConfig);
29+
const config = mergeProps(defaultConfig, configProps);
3030

3131
const mergedStyle = () => ({
3232
...snowfallBaseStyle,

0 commit comments

Comments
 (0)