An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
/**
* @file InputGroupInternalContext.ts
* @input Layer-scoped React context
* @output Package-private InputGroup state context
* @position Internal group state; not re-exported by index.ts
*/
import {createLayerScopedContext} from '../Layer/layerScopedContext';
export const InputGroupInternalContext = createLayerScopedContext(
'InputGroupInternalContext',
1,
{isDisabled: false},
);
InputGroupInternalContext.displayName = 'InputGroupInternalContext';