Skip to content

Commit

Permalink
chore(release): 1.5.0
Browse files Browse the repository at this point in the history
# [1.5.0](v1.4.1...v1.5.0) (2021-10-23)

### Features

* allow user to disable auto theme changing with a prop ([6462472](6462472))
  • Loading branch information
semantic-release-bot committed Oct 23, 2021
1 parent 6462472 commit 994ea78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.5.0](https://github.com/dash-ui/react-native/compare/v1.4.1...v1.5.0) (2021-10-23)


### Features

* allow user to disable auto theme changing with a prop ([6462472](https://github.com/dash-ui/react-native/commit/64624722f04261d1cbe3946281edff9200c3a8ab))

## [1.4.1](https://github.com/dash-ui/react-native/compare/v1.4.0...v1.4.1) (2021-10-23)


Expand Down
3 changes: 2 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,11 @@ export declare function createStyles<V extends Record<string, unknown> = DashTok
insertTokens(nextTokens: PartialDeep<V>): void;
insertThemes(nextThemes: PartialDeep<Omit<VT, "default">>): void;
};
readonly DashProvider: ({ theme: controlledTheme, defaultTheme, onThemeChange, children, }: {
readonly DashProvider: ({ theme: controlledTheme, defaultTheme, onThemeChange, disableAutoThemeChange, children, }: {
defaultTheme?: keyof T | "default" | undefined;
theme?: keyof T | "default" | undefined;
onThemeChange?: ((theme: keyof T | "default") => void) | undefined;
disableAutoThemeChange?: boolean | undefined;
children?: React.ReactNode;
}) => JSX.Element;
};
Expand Down

0 comments on commit 994ea78

Please sign in to comment.