diff --git a/components/doc/breadcrumb/pt/ptdoc.js b/components/doc/breadcrumb/pt/ptdoc.js index 197acd4fc1..09c6d93d54 100644 --- a/components/doc/breadcrumb/pt/ptdoc.js +++ b/components/doc/breadcrumb/pt/ptdoc.js @@ -8,7 +8,16 @@ export function PTDoc(props) { const code = { basic: ` - + ({ + className: props.index === items.length - 1 ? 'font-italic' : undefined + }) + }} +/> `, javascript: ` import React from 'react';