rn-shiki 0.0.37-13 → 0.0.37-14

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rn-shiki",
3
3
  "type": "module",
4
- "version": "0.0.37-13",
4
+ "version": "0.0.37-14",
5
5
  "description": "Shiki syntax highlighter for React Native.",
6
6
  "author": "Ryan Skinner <hello@ryanskinner.com>",
7
7
  "license": "MIT",
@@ -23,6 +23,7 @@ const styles = StyleSheet.create({
23
23
  })
24
24
 
25
25
  const SyntaxHighlighter: React.FC<SyntaxHighlighterProps> = ({ text, language, languageId, theme }) => {
26
+ console.log('theme:', theme)
26
27
  const stylesheet = useMemo(() => {
27
28
  const styles = getRNStylesFromShikiStyle(theme as ReactStyle)
28
29
  console.log('Generated stylesheet:', styles)