import React from 'react' import { Highlight } from '../../Highlight' const code = ` import { patternDotsDef, patternSquaresDef } from '@nivo/core' import { Stream } from '@nivo/stream' const MyChart = () => ( d.id === 'vue', id: 'squares' }, // match all, will only affect 'elm' because once // a rule match, others are skipped // (can be used with http rendering API { match: '*', id: 'custom' }, ]} /> ) `.trim() export const PatternsExample = () =>