Skip to content

Commit

Permalink
Add start/endDecorator slots to extendTheme.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Sep 15, 2022
1 parent 80f5800 commit f9c50b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/mui-joy/src/styles/extendTheme.spec.ts
Expand Up @@ -187,6 +187,14 @@ extendTheme({
expectType<ButtonOwnerState & Record<string, unknown>, typeof ownerState>(ownerState);
return {};
},
startDecorator: ({ ownerState }) => {
expectType<ButtonOwnerState & Record<string, unknown>, typeof ownerState>(ownerState);
return {};
},
endDecorator: ({ ownerState }) => {
expectType<ButtonOwnerState & Record<string, unknown>, typeof ownerState>(ownerState);
return {};
},
},
},
JoyCard: {
Expand Down

0 comments on commit f9c50b5

Please sign in to comment.