Skip to content

Commit

Permalink
[styles] Fix styled types not including properties
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed May 2, 2019
1 parent f108bfd commit 01e7c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-styles/src/styled/styled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type ComponentCreator<C extends React.ElementType> = <Theme, Props extend
options?: WithStylesOptions<Theme>,
) => React.ComponentType<
Omit<JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>, 'classes' | 'className'> &
StyledComponentProps<'root'> & { className?: string }
StyledComponentProps<'root'> & { className?: string } & Partial<Props>
>;

export interface StyledProps {
Expand Down

0 comments on commit 01e7c0b

Please sign in to comment.