* perf: use useMemo * refactor: extract className * refactor: fix lint warning * fix: fix can not be selected * refactor: reduces count of compile runs * fix: fix T-494 * fix: should disable options that no children * fix: fix T-496