Skip to content

Commit 6cc96ef

Browse files
fix(Card): Migrate to TypeScript (#55)
1 parent e7144cd commit 6cc96ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/components/Card/Card.js renamed to lib/components/Card/Card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import React from 'react';
1+
import React, { Component } from 'react';
22
import Box from '../Box/Box';
33

4-
export default class Card extends React.Component {
4+
export default class Card extends Component {
55
static displayName = 'Card';
66

77
render() {

0 commit comments

Comments
 (0)