SlideInPanel
Installation
import { SlideInPanel } from 'uxp/components';Signature
const SlideInPanel: React.MemoExoticComponent<React.ForwardRefExoticComponent<React.RefAttributes<SlideInPanelHandlers> & SlideInPanelProps>>Examples
const containerRef = useRef<HTMLDivElement>(null);
const panelRef = useRef<SlideInPanelHandlers>(null);
<div ref={containerRef} style={{ width: 400, height: 300 }}>
Container content
</div>
<SlideInPanel
isOpen={true}
onClose={() => console.log('Closed')}
containerRef={containerRef}
ref={panelRef}
>
<div>Panel Content</div>
</SlideInPanel>Properties
Name
Type
Mandatory
Default Value
Example Value
Ref Handlers
Method
Type
Description
Last updated