mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 17:27:43 +01:00
* Ignore linting for examples in docs * Formatting JSX single attribute per line * Separte `format` and `lint:format` in package.json * Bump prettier version * Run format
14 lines
292 B
TypeScript
14 lines
292 B
TypeScript
import createCodeExamples from '../.vitepress/lib/createCodeExamples';
|
|
|
|
export default {
|
|
async load() {
|
|
const codeExamples = await createCodeExamples();
|
|
|
|
// const randomIcons = Array.from({ length: 200 }, () => getRandomItem(icons))
|
|
|
|
return {
|
|
codeExamples,
|
|
};
|
|
},
|
|
};
|