@nguyenviet3057/react-native-code-highlighter
Version:
9 lines • 447 B
TypeScript
import type { CSSProperties } from "react";
import type { TextStyle } from "react-native";
export type HighlighterStyleSheet = {
[key: string]: TextStyle;
};
export type ReactStyle = Record<string, CSSProperties>;
export declare const getRNStylesFromHljsStyle: (hljsStyle: ReactStyle) => HighlighterStyleSheet;
export declare const cleanStyle: (style: CSSProperties) => import("css-to-react-native").Style;
//# sourceMappingURL=styles.d.ts.map