taraspolovyi / react-honeycomb

React Honeycomb is a library for displaying lists as hexagonal honeycombs in React applications.
10 stars 7 forks source link

Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes & HexagonProps'. #6

Open vishal-parmar32 opened 4 months ago

vishal-parmar32 commented 4 months ago
  <Honeycomb
        columns={5}
        size={50}
        items={[
            "https://cdn.pixabay.com/photo/2023/01/25/22/46/grey-reef-shark-7744765_1280.jpg",
        ]}
        renderItem={(item) => (
            <Hexagon className="awesome-class-name">{renderItem(item)}</Hexagon>
        )}
  />
vishal-parmar32 commented 4 months ago
Screenshot 2024-05-15 at 3 59 39 PM