Skip to content

Commit 51844f7

Browse files
authored
Merge pull request #1 from zobweyt/main
fix: properly merge config props with default config
2 parents 1d74e60 + 6afbfb2 commit 51844f7

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)