-
Notifications
You must be signed in to change notification settings - Fork 370
chore(chart stack): convert to typescript #11890
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
base: main
Are you sure you want to change the base?
chore(chart stack): convert to typescript #11890
Conversation
Preview: https://patternfly-react-pr-11890.surge.sh A11y report: https://patternfly-react-pr-11890-a11y.surge.sh |
y: number; | ||
} | ||
|
||
export const ChartStackColorUnordered: React.FunctionComponent = () => { |
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.
Nit: export name should match the file anme
y: number; | ||
} | ||
|
||
export const ChartStackHorizontalBottomLegend: React.FunctionComponent = () => { |
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.
For this, let's just update the example, file, and export name to remove "horizontal". Based on other chart examples I imagine this is just meant to show the bottom aligned legend, and it's confusing that this is named "horizontal" when it's not showing the chart with horizontal stacks
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.
Yeah makes sense
Towards #11719
The following examples are converted: