-
Notifications
You must be signed in to change notification settings - Fork 522
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
Add types and demo: VictoryBrushContainer #1522
Add types and demo: VictoryBrushContainer #1522
Conversation
…d to be provided initially for the x and y
5544e5c
to
06f6e94
Compare
brushStyle?: React.CSSProperties; | ||
clipContainerComponent?: React.ReactElement; | ||
defaultBrushArea?: "all" | "none" | "disable"; |
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.
defaultBrushArea
should include the option "move"
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.
brushStyle?: React.CSSProperties; | ||
clipContainerComponent?: React.ReactElement; | ||
defaultBrushArea?: "all" | "none" | "disable"; | ||
disable?: boolean; | ||
downsample?: number | boolean; | ||
minimumZoom?: CursorData; |
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.
CursorData
is a really confusingly named variable. I know you didn't name it, but do you mind changing it?
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.
Sure I can do that
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.
🚢
@boygirl We decided to merge this and keep |
VictoryBrushContainerDemo
RangeTuple
instead ofDomainPropType
since it is possible to have the prop to not be provided initially, thereforeDomainPropType
is the wrong type definition due to it requiring eitherx
ory
VictoryBrushContainerProps
interface