File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @vectara/vectara-ui" ,
3- "version" : " 13.10 .0" ,
3+ "version" : " 13.11 .0" ,
44 "homepage" : " ./" ,
55 "description" : " Vectara's design system, codified as a React and Sass component library" ,
66 "author" : " Vectara" ,
Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ export const sayValue = ({ value }: Config) => {
3838
3939 js : `export const sayValue = ({ value }) => {
4040 console.log(value);
41- };`
41+ };` ,
42+
43+ py : `def isThreshold(value: int, threshold: int) -> bool:
44+ return value > threshold`
4245} as const ;
4346
4447type Language = keyof typeof languageToSampleMap ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import "prismjs/components/prism-typescript";
1010import "prismjs/components/prism-bash" ;
1111import "prismjs/components/prism-jsx" ;
1212import "prismjs/components/prism-tsx" ;
13+ import "prismjs/components/prism-python" ;
1314import { VuiIconButton } from "../button/IconButton" ;
1415import { VuiIcon } from "../icon/Icon" ;
1516import { CodeLanguage } from "./types" ;
Original file line number Diff line number Diff line change 1- export type CodeLanguage = "json" | "js" | "ts" | "jsx" | "tsx" | "bash" | "none" ;
1+ export type CodeLanguage = "json" | "js" | "ts" | "jsx" | "tsx" | "bash" | "py" | " none";
You can’t perform that action at this time.
0 commit comments