carbon-react
Version:
A library of reusable React components for easily building user interfaces.
29 lines (28 loc) • 1.2 kB
TypeScript
import React from "react";
import { MarginProps } from "styled-system";
import { TagProps } from "../../__internal__/utils/helpers/tags";
/**
* @deprecated `DuellingPicklist` has been deprecated. See the Carbon documentation for migration details.
*/
export interface DuellingPicklistProps extends MarginProps, TagProps {
/**
* Content of the component, should contain two Picklist children
* and a PicklistDivider
*/
children?: React.ReactNode;
/** Indicate if component is disabled */
disabled?: boolean;
/** Place for components like Search or Filter placed above the left list */
leftControls?: React.ReactNode;
/** Left list label */
leftLabel?: string;
/** Place for components like Search or Filter placed above the right list */
rightControls?: React.ReactNode;
/** Right list label */
rightLabel?: string;
}
/**
* @deprecated `DuellingPicklist` has been deprecated. See the Carbon documentation for migration details.
*/
export declare const DuellingPicklist: ({ children, disabled, leftControls, rightControls, leftLabel, rightLabel, ...rest }: DuellingPicklistProps) => React.JSX.Element;
export default DuellingPicklist;