react-native-code-highlighter
Version:
11 lines • 461 B
TypeScript
import type { CSSProperties } from "react";
import type { TextStyle } from "react-native";
export type HighlighterStyleSheet = {
[key: string]: TextStyle;
};
export type ReactStyle = {
[key: string]: React.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