From 5fa6f3152d4a6bdab8238b74730bc73f3ccc182d Mon Sep 17 00:00:00 2001 From: Jordan Lawrence Date: Tue, 2 Jul 2024 11:30:04 +0100 Subject: [PATCH] feat(textarea): support for disabled focus ring (#1353) --- src/core/primitives/textArea/textArea.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/primitives/textArea/textArea.tsx b/src/core/primitives/textArea/textArea.tsx index d95a88aae..6ed2bcd69 100644 --- a/src/core/primitives/textArea/textArea.tsx +++ b/src/core/primitives/textArea/textArea.tsx @@ -21,6 +21,10 @@ import {ResponsiveRadiusProps} from '../types' * @public */ export interface TextAreaProps extends ResponsiveRadiusProps { + /** + * @beta + */ + __unstable_disableFocusRing?: boolean border?: boolean customValidity?: string fontSize?: number | number[] @@ -66,6 +70,7 @@ export const TextArea = forwardRef(function TextArea( padding = 3, radius = 2, weight, + __unstable_disableFocusRing, ...restProps } = props @@ -99,6 +104,7 @@ export const TextArea = forwardRef(function TextArea( />