react-hexgrid icon indicating copy to clipboard operation
react-hexgrid copied to clipboard

Build interactive hexagon grids with React

Results 32 react-hexgrid issues
Sort by recently updated
recently updated
newest added

it would be extremely useful if the `Hex` model had a `toString` function, so that it can be used as the key in a hash map the default behavior is...

Test coverage is needed for the Ring and Spiral static methods in GridGenerator.tsx for the GridGenerator.test.tsx test file. Creating the test shouldn't be difficult.

beginner

Running the following command to test the GridGenerator static methods shows all tests pass. - `npx jest test/src/GridGenerator.test.tsx` However, running the following command to run all tests show that a...

beginner

Make a comment on what the `PixelToHex` function does in `HexUtils.ts` I don't know what it does.

beginner

this lets you use colors with the `fill` prop: ```jsx ```

Hey all! I'm very pleased to see that this library is being used somewhat widely and in different use cases. This library I wrote mostly for my personal prototyping but...

Drag and Drop not work in Firefox 65.0

NOTE: This patch is "not" ready to merge, I made this PR as a request for comments/improvements. It seems like in firefox, svg elements will not have their `onDragStart` function...

Everything is in the title, I tried to change link="" by src={} with an import, didn't work, i'm kinda new a React so might be a dumb question but you'd...