Skip to content

Commit

Permalink
Misc documentation fixes
Browse files Browse the repository at this point in the history
- Fix broken link
- Remove random documentation copy that doesn't look like it belongs
- Fix import statement
  • Loading branch information
cee-chen committed Jul 22, 2022
1 parent bc080e3 commit c529cdb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src-docs/src/views/selectable/selectable_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
EuiSelectable,
EuiSelectableMessage,
EuiText,
EuiCallOut,
} from '../../../../src/components';

import {
Expand Down Expand Up @@ -36,8 +37,6 @@ const selectableSizingSource = require('!!raw-loader!./selectable_sizing');
import SelectableCustomRender from './selectable_custom_render';
const selectableCustomRenderSource = require('!!raw-loader!./selectable_custom_render');

import { EuiCallOut } from '../../../../src/components/call_out';

const props = {
EuiSelectable,
EuiSelectableOptionProps,
Expand Down Expand Up @@ -221,7 +220,6 @@ export const SelectableExample = {
<p>
Currently, adding <EuiCode>allowExclusions</EuiCode> simply allows
cycling through the checked options (on {'-> off ->'} undefined).
Should this be allowed by holding down a modifier key instead?
</p>
</Fragment>
),
Expand All @@ -240,7 +238,7 @@ export const SelectableExample = {
title: 'Messages and loading',
source: [
{
type: GuideSectionTypes.JS,
type: GuideSectionTypes.TSX,
code: selectableMessagesSource,
},
],
Expand Down Expand Up @@ -298,7 +296,7 @@ export const SelectableExample = {
<p>
The width has been made to always be 100% of its container,
including stretching the search input. When used inside of{' '}
<Link to="layout/popover">
<Link to="/layout/popover">
<strong>EuiPopover</strong>
</Link>
, we recommend setting a width (or min/max values) via CSS on the
Expand Down

0 comments on commit c529cdb

Please sign in to comment.