13 lines
519 B
JavaScript
13 lines
519 B
JavaScript
import * as React from 'react';
|
|
import { useToastTitle_unstable } from './useToastTitle';
|
|
import { renderToastTitle_unstable } from './renderToastTitle';
|
|
import { useToastTitleStyles_unstable } from './useToastTitleStyles.styles';
|
|
/**
|
|
* ToastTitle component
|
|
*/ export const ToastTitle = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
const state = useToastTitle_unstable(props, ref);
|
|
useToastTitleStyles_unstable(state);
|
|
return renderToastTitle_unstable(state);
|
|
});
|
|
ToastTitle.displayName = 'ToastTitle';
|