Interactive hexagon grids with React bindings
npm install kitty-hexgridshell
npm i kitty-hexgrid
`
Example
`html
import { HexGrid, Layout, Hexagon, Text, Pattern, Path, Hex } from 'kitty-hexgrid';
import './App.css';
class App extends Component {
render() {
return (
{/ Grid with manually inserted hexagons /}
{/ Using pattern (defined below) to fill the hexagon /}
1, -1, 0
1, 0, -1
{/ Pattern and text /}
-1, 1, 0
);
}
}
``