From 2216606e0395866b4e617709024f4e63a54f01f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ula=C5=9F=20Turan?= Date: Tue, 16 May 2023 00:23:08 +0300 Subject: [PATCH] Refactor #4391 - For BreadCrumb PTDoc --- components/doc/breadcrumb/pt/ptdoc.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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';