+
+ { __( 'Characters:' ) }
+
+
+
+
+
+ { __( 'Words:' ) }
+
+
+
+ { __( 'Time to read:' ) }
+
+
+
+ >
+ );
+}
diff --git a/packages/edit-post/src/components/secondary-sidebar/list-view-sidebar.js b/packages/edit-post/src/components/secondary-sidebar/list-view-sidebar.js
index 10ee573e6257c6..56f6fce6f17bf1 100644
--- a/packages/edit-post/src/components/secondary-sidebar/list-view-sidebar.js
+++ b/packages/edit-post/src/components/secondary-sidebar/list-view-sidebar.js
@@ -1,3 +1,8 @@
+/**
+ * External dependencies
+ */
+import classnames from 'classnames';
+
/**
* WordPress dependencies
*/
@@ -6,18 +11,19 @@ import { Button } from '@wordpress/components';
import {
useFocusOnMount,
useFocusReturn,
- useInstanceId,
useMergeRefs,
} from '@wordpress/compose';
import { useDispatch } from '@wordpress/data';
import { __ } from '@wordpress/i18n';
import { closeSmall } from '@wordpress/icons';
import { ESCAPE } from '@wordpress/keycodes';
+import { useState } from '@wordpress/element';
/**
* Internal dependencies
*/
import { store as editPostStore } from '../../store';
+import ListViewOutline from './list-view-outline';
export default function ListViewSidebar() {
const { setIsListViewOpened } = useDispatch( editPostStore );
@@ -32,35 +38,68 @@ export default function ListViewSidebar() {
}
}
- const instanceId = useInstanceId( ListViewSidebar );
- const labelId = `edit-post-editor__list-view-panel-label-${ instanceId }`;
+ const [ tab, setTab ] = useState( 'list-view' );
return (
// eslint-disable-next-line jsx-a11y/no-static-element-interactions