@mintlify/common 1.0.766 → 1.0.767
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Program, Property } from 'estree-jsx';
|
|
2
2
|
import type { Root } from 'mdast';
|
|
3
|
+
export declare const REACT_HOOKS: string[];
|
|
3
4
|
export declare function isStringSafe(value: string): boolean;
|
|
4
5
|
export declare function filterStyleProperties(estree: Program): Program | null;
|
|
5
6
|
export declare function rebuildStyleValue(properties: Property[]): string;
|
|
@@ -136,7 +136,7 @@ const DEFAULT_PROP_EXPRESSIONS = {
|
|
|
136
136
|
'x-hidden': { value: '"true"', estree: trueEstree },
|
|
137
137
|
'x-excluded': { value: '"true"', estree: trueEstree },
|
|
138
138
|
};
|
|
139
|
-
const REACT_HOOKS = [
|
|
139
|
+
export const REACT_HOOKS = [
|
|
140
140
|
'useState',
|
|
141
141
|
'useEffect',
|
|
142
142
|
'useRef',
|