Files
klz-cables.com/.pnpm-store/v10/files/59/9f91d4393a7ce6bab407b8191664b5adcd5d1320f8bd6bf2197c3531d3fadabedc470dadc205211e0b21ac752d223546ed006f36dfea11db95f872e4278bed
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

81 lines
2.2 KiB
Plaintext

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
*/
import type { LexicalEditor } from 'lexical';
// $FlowFixMe[cannot-resolve-module] - Not able to type this with a flow extension
import type {TRefFor} from 'CoreTypes.flow';
import * as React from 'react';
type InlineStyle = {
[key: string]: mixed,
};
// Due to Flow limitations, we prefer fixed types over the built-in inexact HTMLElement
type HTMLDivElementDOMProps = $ReadOnly<{
'aria-label'?: void | string,
'aria-labeledby'?: void | string,
'aria-activedescendant'?: void | string,
'aria-autocomplete'?: void | string,
'aria-describedby'?: void | string,
'aria-errormessage'?: void | string,
'aria-invalid'?: void | boolean,
'aria-owns'?: void | string,
'title'?: void | string,
onClick?: void | ((e: SyntheticEvent<HTMLDivElement>) => mixed),
autoCapitalize?: void | boolean,
autoComplete?: void | boolean,
autoCorrect?: void | boolean,
id?: void | string,
className?: void | string,
'data-testid'?: void | string,
role?: void | string,
spellCheck?: void | boolean,
suppressContentEditableWarning?: void | boolean,
tabIndex?: void | number,
style?: void | InlineStyle | CSSStyleDeclaration,
'data-testid'?: void | string,
}>;
export type PlaceholderProps =
| $ReadOnly<{
'aria-placeholder'?: void,
placeholder?: null,
}>
| $ReadOnly<{
'aria-placeholder': string,
placeholder:
| ((isEditable: boolean) => null | React.Node)
| null
| React.Node,
}>;
export type Props = $ReadOnly<{
...HTMLDivElementDOMProps,
ariaActiveDescendant?: string,
ariaAutoComplete?: string,
ariaControls?: string,
ariaDescribedBy?: string,
ariaErrorMessage?: string,
ariaExpanded?: boolean,
ariaInvalid?: boolean,
ariaLabel?: string,
ariaLabelledBy?: string,
ariaMultiline?: boolean,
ariaOwns?: string,
ariaRequired?: string,
autoCapitalize?: boolean,
...PlaceholderProps,
}>;
declare export var ContentEditable: component(
ref: React.RefSetter<HTMLDivElement>,
...Props
);