Skip to content

BaseTrigger

BaseTrigger

Basic trigger-button for all dropdowns.

js
import { BaseTrigger } from 'intergalactic/base-trigger';

BaseTriggerProps

& & & & {...}
NameTypeDescription
size"m" | "l" Trigger size
state"normal" | "valid" | "invalid" Trigger state
activeboolean Sets active state to trigger
emptyboolean Responsible for placeholder displaying
placeholderReact.ReactNode Placeholder text
chevronboolean Display the dropdowns chevron icon
disabledboolean Sets disabled state to trigger
theme"normal" | "valid" | "invalid" | false Trigger theme

ButtonTrigger

Button-trigger with the ChevronDownM icon.

js
import { ButtonTrigger } from 'intergalactic/base-trigger';

ButtonTriggerProps

& {...}
NameTypeDescription
loadingboolean Sets the loading state

LinkTrigger

This trigger looks like a link with the ChevronDownM icon.

js
import { LinkTrigger } from 'intergalactic/base-trigger';

LinkTriggerProps

& {...}
NameTypeDescription
loadingboolean Sets the loading state
colorstring Text color

FilterTrigger

Trigger for filters.

js
import { FilterTrigger } from 'intergalactic/base-trigger';

FilterTriggerProps

& {...}
NameTypeDescription
onClear(event: React.SyntheticEvent) => void Click on the filter cleaning cross
localestring
includeInputPropsstring[] List of props that will be added to the select inside of filter
triggerRefReact.Ref<> Normal `ref` prop refers to FilterTrigger wrapper while `triggerRef` refers explicitly to trigger button

Released under the MIT License.

Released under the MIT License.