@meduza/ui-kit-2 0.1.77 → 0.1.88

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.77",
2
+ "version": "0.1.88",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -10,5 +10,5 @@ export interface MaterialNoteProps {
10
10
  type: string
11
11
  }
12
12
  styleContext?: string | string[]
13
- lang: 'ru' | 'en'
13
+ lang?: 'ru' | 'en'
14
14
  }
@@ -121,7 +121,11 @@ export const RenderBlocks: React.FC<RenderBlocksProps> = ({
121
121
 
122
122
  case 'material_note':
123
123
  return (
124
- <MaterialNote block={block} lang={lang} styleContext={styleContext} />
124
+ <MaterialNote
125
+ block={block}
126
+ lang={block.lang}
127
+ styleContext={styleContext}
128
+ />
125
129
  )
126
130
 
127
131
  default: {