@itwin/itwinui-layouts-react
Version:
iTwinUI package that provides React components for most common layouts
52 lines (51 loc) • 1.27 kB
TypeScript
import React from 'react';
import { StylingProps } from '../../utils/props';
export declare type LeftProps = {
/**
* Children of the element
*/
children: React.ReactNode;
} & StylingProps;
export declare type CenterProps = {
/**
* Children of the element
*/
children: React.ReactNode;
} & StylingProps;
export declare type RightProps = {
/**
* Children of the element
*/
children: React.ReactNode;
} & StylingProps;
export declare type ActionBarProps = {
/**
* Children of the element
*/
children: React.ReactNode;
} & StylingProps;
export declare const ActionBar: {
(props: ActionBarProps): JSX.Element;
/**
* Left subcomponent of ActionBar that displays content in the left slot
*/
Left: {
(props: LeftProps): JSX.Element;
displayName: string;
};
/**
* Center subcomponent of ActionBar that displays content in the middle slot
*/
Center: {
(props: CenterProps): JSX.Element;
displayName: string;
};
/**
* Right subcomponent of ActionBar that displays content in the right slot
*/
Right: {
(props: RightProps): JSX.Element;
displayName: string;
};
};
export default ActionBar;