Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomm1128 committed Dec 23, 2024
1 parent 12f1d15 commit 94f9625
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const ClearContainer = (props: any) => {

return (
<components.ClearIndicator
className="clear_indicator"
{...props}
className="clear_indicator"
{...props}
/>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { components } from 'react-select'

const IndicatorsContainer = (props: any) => (
<components.IndicatorsContainer
className="text_input_indicators"
{...props}
className="text_input_indicators"
{...props}
/>
)

Expand Down
10 changes: 5 additions & 5 deletions playbook/app/pb_kits/playbook/pb_typeahead/components/Option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ const Option = (props: any) => {
<>
{!valueComponent && imageUrl &&
<User
align="left"
avatarUrl={imageUrl}
dark={props.selectProps.dark}
name={props.label}
orientation="horizontal"
align="left"
avatarUrl={imageUrl}
dark={props.selectProps.dark}
name={props.label}
orientation="horizontal"
/>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ import Icon from '../../pb_icon/_icon'
const Placeholder = (props: any) => (
<>
<Flex
align="center"
className="placeholder"
align="center"
className="placeholder"
>
<components.IndicatorsContainer
{...props}
{...props}
/>
{props.selectProps.plusIcon &&
<Icon
className="typeahead-plus-icon"
icon="plus"
className="typeahead-plus-icon"
icon="plus"
/>
}
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { components } from 'react-select'

const ValueContainer = (props: any) => (
<components.ValueContainer
className="text_input_value_container"
{...props}
className="text_input_value_container"
{...props}
/>
)

Expand Down

0 comments on commit 94f9625

Please sign in to comment.