mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
[misc]: fix module imports being broken from esModuleInterop missing
This commit is contained in:
parent
193ad93a7d
commit
06cc7d5e7d
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react'
|
||||
import { shallow } from 'enzyme'
|
||||
import * as sinon from 'sinon'
|
||||
import sinon from 'sinon'
|
||||
import 'jest-styled-components'
|
||||
|
||||
import Button from './Button'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as Color from 'color'
|
||||
import Color from 'color'
|
||||
|
||||
export const color = (i: Color | string) => {
|
||||
return new Color(i)
|
||||
|
|
|
@ -4,7 +4,7 @@ import styled from 'styled-components'
|
|||
|
||||
export type ButtonProps = {
|
||||
children: React.ReactChild
|
||||
href: string
|
||||
href?: string
|
||||
}
|
||||
|
||||
const Button = styled.a`
|
||||
|
|
Loading…
Add table
Reference in a new issue