View source on GitHub link for HTMLSelectExample page is broken:
leads to hTMLSelectExample.tsx (with only the first letter in lowercase) instead of htmlSelectExample.tsx.
Looks like this is due to
|
const fileName = exampleName.charAt(0).toLowerCase() + exampleName.slice(1) + ".tsx"; |
Steps to reproduce
- go to https://blueprintjs.com/docs/#core/components/html-select
- click
"View source on GitHub"
- observe that it leads to a non-existent file
Actual behavior
Expected behavior
Possible solution
Not sure if we should make an exception for this example only, and I figure it would break for other uppercase example files that could be added in the future.
View source on GitHub link for HTMLSelectExample page is broken:
leads to
hTMLSelectExample.tsx(with only the first letter in lowercase) instead ofhtmlSelectExample.tsx.Looks like this is due to
blueprint/packages/docs-app/src/tags/reactExamples.ts
Line 37 in d73a405
Steps to reproduce
"View source on GitHub"Actual behavior
Expected behavior
Possible solution
Not sure if we should make an exception for this example only, and I figure it would break for other uppercase example files that could be added in the future.