Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColumnSize Typescript definition is not exported #415

Open
sambolias opened this issue Feb 1, 2023 · 0 comments
Open

ColumnSize Typescript definition is not exported #415

sambolias opened this issue Feb 1, 2023 · 0 comments
Labels

Comments

@sambolias
Copy link

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
@sambolias sambolias added the bug label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant