Skip to content

Commit

Permalink
add ThemePartyConfig to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrav committed Sep 11, 2024
1 parent b4d611c commit da7ca81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ function Page() {
Sometimes, you might want to override a single theme value, while inheriting the rest of the current theme.

```tsx
import { ThemeOverride } from 'theme-party';
import { ThemeOverride, ThemePartyConfig } from 'theme-party';

const override = { color: { link: 'blue' } };
const override: ThemePartyConfig = { color: { link: 'blue' } };
function Component() {
return (
<ThemeOverride value={override}>
Expand Down

0 comments on commit da7ca81

Please sign in to comment.