mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-13 05:56:07 +02:00
Fixed styled components warning
This is the new syntax for extending components. See: https://github.com/styled-components/styled-components/issues/1546
This commit is contained in:
parent
6884b08e57
commit
8e6f5719dd
|
@ -1,8 +1,10 @@
|
|||
// @flow
|
||||
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { default as TruncatedText } from './TruncatedText';
|
||||
|
||||
export default TruncatedText.extend`
|
||||
export default styled(TruncatedText)`
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue