Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tmahmood
Copy link

@tmahmood tmahmood commented Aug 8, 2019

I have added the fontSize definition and story to make sure it's working as expected.

Added the legend property definition to Geo module.

Tarin Mahmood added 3 commits August 8, 2019 14:20
Theme: Font Size attribute
Bar: Added story to demo fontSize property
Geo: Added legends field definition
Theme: Font Size attribute
Bar: Added story to demo fontSize property
Geo: Added legends field definition
Theme: Font Size attribute
Bar: Added story to demo fontSize property
Geo: Added legends field definition

fmt
onMouseMove?: ChoroplethEventHandler
onMouseLeave?: ChoroplethEventHandler
onClick?: ChoroplethEventHandler
legends: Array<{ dataFrom: 'indexes' | 'keys' } & LegendProps>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package doesn't support dataFrom, the type should be legends: LegendProps[]


export type Theme = Partial<{
background: string
fontSize: string | 0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually there are other props missing from this definition:

    fontFamily: string
    textColor: string

It would be great if you could add them too!

@stale
Copy link

stale bot commented Oct 29, 2020

This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated.

@stale stale bot added the stale label Oct 29, 2020
@stale
Copy link

stale bot commented Nov 5, 2020

Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!

@stale stale bot closed this Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants