Skip to content

Commit

Permalink
Merge pull request #847 from sentiurin/CMSBanner-types
Browse files Browse the repository at this point in the history
chore: add state typing for component CMSBanner
  • Loading branch information
Cauldrath authored Oct 3, 2019
2 parents b5cbd20 + 6da56d3 commit 46bf713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fscomponents/src/components/CMSBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface CMSBannerState {
containerWidth: number;
}

export abstract class CMSBanner<P extends CMSBannerProps>
export abstract class CMSBanner<P extends CMSBannerProps, S = {}>
extends Component<P, CMSBannerState> {

state: CMSBannerState = {
Expand Down

0 comments on commit 46bf713

Please sign in to comment.