From 76448eee2ee44fc1e72589748b9b36de2d1268b9 Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Thu, 26 Sep 2024 15:55:19 +0400 Subject: [PATCH] Block Editor: Fix README for FontFamilyControl component (#65660) Unlinked contributors: mr660. Co-authored-by: Mamaduka --- packages/block-editor/src/components/font-family/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/font-family/README.md b/packages/block-editor/src/components/font-family/README.md index 63965f509ba534..57697f595cc800 100644 --- a/packages/block-editor/src/components/font-family/README.md +++ b/packages/block-editor/src/components/font-family/README.md @@ -1,5 +1,9 @@ # FontFamilyControl +
+This feature is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes. +
+ FontFamilyControl is a React component that renders a UI that allows users to select a font family. The component renders a user interface that allows the user to select from a set of predefined font families as defined by the `typography.fontFamilies` presets. Optionally, you can provide a `fontFamilies` prop that overrides the predefined font families. @@ -10,7 +14,7 @@ Optionally, you can provide a `fontFamilies` prop that overrides the predefined ```jsx import { useState } from 'react'; -import { FontFamilyControl } from '@wordpress/block-editor'; +import { __experimentalFontFamilyControl as FontFamilyControl } from '@wordpress/block-editor'; import { __ } from '@wordpress/i18n'; // ...