From 93175c13f2f3548a8e6a1b2c8a151578663ae322 Mon Sep 17 00:00:00 2001 From: mnajdova Date: Wed, 16 Oct 2024 11:31:18 +0200 Subject: [PATCH] [FormControlLabel][docs] Don't use unintuitive label position on checkbox, radio and switch demos --- .../checkboxes/FormControlLabelPosition.js | 12 ------------ .../checkboxes/FormControlLabelPosition.tsx | 12 ------------ .../radio-buttons/FormControlLabelPlacement.js | 12 ------------ .../radio-buttons/FormControlLabelPlacement.tsx | 12 ------------ .../components/switches/FormControlLabelPosition.js | 12 ------------ .../components/switches/FormControlLabelPosition.tsx | 12 ------------ 6 files changed, 72 deletions(-) diff --git a/docs/data/material/components/checkboxes/FormControlLabelPosition.js b/docs/data/material/components/checkboxes/FormControlLabelPosition.js index d01816bba2e8d1..c9227af761abc1 100644 --- a/docs/data/material/components/checkboxes/FormControlLabelPosition.js +++ b/docs/data/material/components/checkboxes/FormControlLabelPosition.js @@ -10,18 +10,6 @@ export default function FormControlLabelPosition() { Label placement - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> } diff --git a/docs/data/material/components/checkboxes/FormControlLabelPosition.tsx b/docs/data/material/components/checkboxes/FormControlLabelPosition.tsx index d01816bba2e8d1..c9227af761abc1 100644 --- a/docs/data/material/components/checkboxes/FormControlLabelPosition.tsx +++ b/docs/data/material/components/checkboxes/FormControlLabelPosition.tsx @@ -10,18 +10,6 @@ export default function FormControlLabelPosition() { Label placement - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> } diff --git a/docs/data/material/components/radio-buttons/FormControlLabelPlacement.js b/docs/data/material/components/radio-buttons/FormControlLabelPlacement.js index 52a94b01ac50d8..a4d05c9f5b5af6 100644 --- a/docs/data/material/components/radio-buttons/FormControlLabelPlacement.js +++ b/docs/data/material/components/radio-buttons/FormControlLabelPlacement.js @@ -15,18 +15,6 @@ export default function FormControlLabelPlacement() { name="position" defaultValue="top" > - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> } diff --git a/docs/data/material/components/radio-buttons/FormControlLabelPlacement.tsx b/docs/data/material/components/radio-buttons/FormControlLabelPlacement.tsx index 52a94b01ac50d8..a4d05c9f5b5af6 100644 --- a/docs/data/material/components/radio-buttons/FormControlLabelPlacement.tsx +++ b/docs/data/material/components/radio-buttons/FormControlLabelPlacement.tsx @@ -15,18 +15,6 @@ export default function FormControlLabelPlacement() { name="position" defaultValue="top" > - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> } diff --git a/docs/data/material/components/switches/FormControlLabelPosition.js b/docs/data/material/components/switches/FormControlLabelPosition.js index 6eceb1be2555ae..d9b0354c097255 100644 --- a/docs/data/material/components/switches/FormControlLabelPosition.js +++ b/docs/data/material/components/switches/FormControlLabelPosition.js @@ -10,18 +10,6 @@ export default function FormControlLabelPosition() { Label placement - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> } diff --git a/docs/data/material/components/switches/FormControlLabelPosition.tsx b/docs/data/material/components/switches/FormControlLabelPosition.tsx index 6eceb1be2555ae..d9b0354c097255 100644 --- a/docs/data/material/components/switches/FormControlLabelPosition.tsx +++ b/docs/data/material/components/switches/FormControlLabelPosition.tsx @@ -10,18 +10,6 @@ export default function FormControlLabelPosition() { Label placement - } - label="Top" - labelPlacement="top" - /> - } - label="Start" - labelPlacement="start" - /> }