Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
renamed file because of case insensitive behavior on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
bmdalex committed Feb 21, 2019
1 parent 98d36e6 commit efb1490
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { atMentionItems, AtMentionItem } from './dataMocks'
import { insertTextAtCursorPosition } from './utils'
import { CustomPortal } from './CustomPortal'

interface InputWithDropdownState {
interface MentionsWithDropdownState {
dropdownOpen?: boolean
searchQuery?: string
}
Expand All @@ -19,8 +19,8 @@ const editorStyle: React.CSSProperties = {
outline: 0,
}

class InputWithDropdown extends React.Component<{}, InputWithDropdownState> {
private readonly initialState: InputWithDropdownState = {
class MentionsWithDropdown extends React.Component<{}, MentionsWithDropdownState> {
private readonly initialState: MentionsWithDropdownState = {
dropdownOpen: false,
searchQuery: '',
}
Expand Down Expand Up @@ -100,4 +100,4 @@ class InputWithDropdown extends React.Component<{}, InputWithDropdownState> {
private tryFocusEditor = () => _.invoke(this.contendEditableRef.current, 'focus')
}

export default InputWithDropdown
export default MentionsWithDropdown
4 changes: 2 additions & 2 deletions docs/src/prototypes/dropdowns/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import { PrototypeSection, ComponentPrototype } from '../Prototypes'
import AsyncDropdownSearch from './AsyncDropdownSearch'
import InputWithDropdown from './InputWithDropdown'
import MentionsWithDropdown from './MentionsWithDropdown'

export default () => (
<PrototypeSection title="Dropdowns">
Expand All @@ -15,7 +15,7 @@ export default () => (
title="Input with Dropdown"
description="Use the '@' key to mention people."
>
<InputWithDropdown />
<MentionsWithDropdown />
</ComponentPrototype>
</PrototypeSection>
)

0 comments on commit efb1490

Please sign in to comment.