This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Legend #189
Merged
Merged
Legend #189
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
dc3142d
Add initial victory-legend
janesh-travolta e203fe0
updated victory-legend
janesh-travolta 08ecee3
merged master
janesh-travolta 358af4a
minor improvements
janesh-travolta 7d15430
Merge pull request #116 from janesh-travolta/victory-legend
boygirl e3a9c31
Merge branch 'master' into legend
angelanicholas 8846970
lint and spelling
angelanicholas 6da5333
address PR comments and other refactoring
angelanicholas 619fc26
update demo
angelanicholas 62d081f
update tests
angelanicholas 1294b67
reorder component methods
angelanicholas 4a42957
move leftOffset calc to getLegendState
angelanicholas 080c387
don't pass props around unnecessarily
angelanicholas 1dadd57
fix standalone demo
angelanicholas d3a59df
move demo for consistency
angelanicholas 1373951
remove state in favor of calculated props in render
angelanicholas 88b1abf
consolidate orientation checks by storing in calculated props
angelanicholas e9905c8
add theme prop and move default styles
angelanicholas 783031a
fix tests
angelanicholas d74b1ff
add colorScale prop
angelanicholas bb1252d
alphabetize props
angelanicholas ea7a65e
alphabetize default props, remove default padding prop
angelanicholas bb3a74a
allow height width padding to be specified in theme
angelanicholas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add theme prop and move default styles
- Loading branch information
commit e9905c8f6dd4f3e9139ee5c3d3e69946c5637b7d
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to define width / height in the theme too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And padding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed!