Skip to content

ColumnSize Typescript definition is not exported #415

@sambolias

Description

@sambolias

Describe the bug

I can find the type definition for ColumnSize, but the type doesn't appear to be exported or available from the library.

When I try to set a Columns.Column size or offset prop from a number variable it isn't accepted. I can use the any type to make it work, but ideally I could use the actual type those properties expect.

To Reproduce
Steps to reproduce the behavior:

const [size, offset]: any[] = isAdditional ? [6, 2] : [8, 0]
...
<Columns.Column size={size} offset={offset}>

Expected behavior

Available types for typescript

Versions

  • react-bulma-components:: 4.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions