Skip to content

Commit

Permalink
Extends DOMAttributes (necessary to use Emotion "css" props)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Jan 11, 2021
1 parent 206f209 commit a2cd983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/utils/Text.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import React, { DOMAttributes } from 'react';

type Props = {
children: string;
tag?: string | React.ReactType;
}
} & DOMAttributes<any>

/**
* Automatically break lines for text
Expand Down

1 comment on commit a2cd983

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.