From ffbd89f0d8386415e8ff479b52e41a5c7af84de9 Mon Sep 17 00:00:00 2001 From: adamviktora Date: Tue, 26 Mar 2024 13:41:43 +0100 Subject: [PATCH] docs(Label): add examples of clickable disabled --- .../Label/examples/LabelCompact.tsx | 20 +- .../components/Label/examples/LabelFilled.tsx | 122 ++++++++++-- .../Label/examples/LabelOutline.tsx | 184 ++++++++++++++++-- 3 files changed, 293 insertions(+), 33 deletions(-) diff --git a/packages/react-core/src/components/Label/examples/LabelCompact.tsx b/packages/react-core/src/components/Label/examples/LabelCompact.tsx index 66658762a26..109ac2c4063 100644 --- a/packages/react-core/src/components/Label/examples/LabelCompact.tsx +++ b/packages/react-core/src/components/Label/examples/LabelCompact.tsx @@ -19,9 +19,27 @@ export const LabelCompact: React.FunctionComponent = () => ( {' '} + {' '} + {' '} + {' '} {' '} + {' '} + ); diff --git a/packages/react-core/src/components/Label/examples/LabelFilled.tsx b/packages/react-core/src/components/Label/examples/LabelFilled.tsx index ac8ad75ec91..9ef9e240037 100644 --- a/packages/react-core/src/components/Label/examples/LabelFilled.tsx +++ b/packages/react-core/src/components/Label/examples/LabelFilled.tsx @@ -17,13 +17,19 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -42,15 +48,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -69,15 +87,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -96,15 +126,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -123,15 +165,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -150,15 +204,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -177,15 +243,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -204,15 +282,27 @@ export const LabelFilled: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

diff --git a/packages/react-core/src/components/Label/examples/LabelOutline.tsx b/packages/react-core/src/components/Label/examples/LabelOutline.tsx index cfcb960d551..4c094980960 100644 --- a/packages/react-core/src/components/Label/examples/LabelOutline.tsx +++ b/packages/react-core/src/components/Label/examples/LabelOutline.tsx @@ -24,15 +24,27 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -53,13 +65,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -88,13 +120,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -123,13 +175,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -158,13 +230,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -193,13 +285,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -228,13 +340,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} +

@@ -263,13 +395,13 @@ export const LabelOutline: React.FunctionComponent = () => { {' '} + {' '} {' '} + {' '} {' '} + {' '} + );