Skip to content

Instantly share code, notes, and snippets.

View karolisgrinkevicius-home24's full-sized avatar

Karolis Grinkevičius karolisgrinkevicius-home24

View GitHub Profile
import React from 'react';
import { map, groupBy } from 'lodash';
interface SelectableOption {
key: string;
items: unknown[];
}
interface WithGroupedAttributes {
selectableOptions: SelectableOption[];