14 lines
508 B
JavaScript
14 lines
508 B
JavaScript
'use client';
|
|
import * as React from 'react';
|
|
import { useAriaLive_unstable } from './useAriaLive';
|
|
import { renderAriaLive_unstable } from './renderAriaLive';
|
|
import { useAriaLiveStyles_unstable } from './useAriaLiveStyles.styles';
|
|
/**
|
|
* A component that manages aria live announcements imperatively
|
|
*/ export const AriaLive = (props)=>{
|
|
const state = useAriaLive_unstable(props);
|
|
useAriaLiveStyles_unstable(state);
|
|
return renderAriaLive_unstable(state);
|
|
};
|
|
AriaLive.displayName = 'AriaLive';
|