From 804c4bd049a35ab2f7b770512ea1c9822022fac2 Mon Sep 17 00:00:00 2001 From: ekachxaidze98 <65679299+ekachxaidze98@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:33:10 +0400 Subject: [PATCH] CORE: reuse docs (#651) --- .../documentation-membership-nav.jsx | 21 ++- .../documentation-membership-nav/styles.css | 4 + .../documentation-membership.jsx | 143 +++++++++++------- .../documentation-membership/styles.css | 49 +++++- 4 files changed, 151 insertions(+), 66 deletions(-) diff --git a/src/modules/documentation-membership-nav/documentation-membership-nav.jsx b/src/modules/documentation-membership-nav/documentation-membership-nav.jsx index 8b1f5199..a74dca65 100644 --- a/src/modules/documentation-membership-nav/documentation-membership-nav.jsx +++ b/src/modules/documentation-membership-nav/documentation-membership-nav.jsx @@ -1,7 +1,9 @@ import React, { useState } from 'react' +import ReactMarkdown from 'react-markdown' import styles from './styles.css' import { classNames } from '../../utils' +import Icon from '../../elements/icon' const DocumentationMembershipNav = ({ textData, @@ -31,23 +33,28 @@ const DocumentationMembershipNav = ({ return (