Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

Type definitions #8

@dantonel

Description

@dantonel

Are there any typescript typedefinitions available for this package? I tried grabbing the type definitions directly from the 'styled-components' package:

declare module '@react-pdf/styled-components'
{
  export * from '@types/styled-components';
}

or

declare module '@react-pdf/styled-components'
{
  export { default } from '@types/styled-components';
}

but I still get type errors like:
Property 'Text' does not exist on type 'typeof import("@react-pdf/styled-components")'.
or
Type 'Style' is not assignable to type 'CSSProperties'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions