carbon-react
Version:
A library of reusable React components for easily building user interfaces.
36 lines (35 loc) • 1.8 kB
TypeScript
import { SpaceProps } from "styled-system";
import { TagProps } from "../../__internal__/utils/helpers/tags";
/**
* @deprecated `VerticalDivider` has been deprecated. See the Carbon documentation for migration details.
*/
type TintRange = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100;
/**
* @deprecated `VerticalDivider` has been deprecated. See the Carbon documentation for migration details.
*/
export interface VerticalDividerProps extends SpaceProps, TagProps {
/** Shorthand for the height attribute */
h?: number | string;
/** Height attribute of the component */
height?: number | string;
/**
* Sets the display: inline css attribute on the component
* To be used in non-flex containers.
*/
displayInline?: boolean;
/** Custom tint of the divider, the supported rage is 1-100 */
tint?: TintRange;
/**
* Set the divider to be hidden from screen readers.
* Please note that this cannot be overridden when inside a Menu.
* */
"aria-hidden"?: boolean;
}
/**
* @deprecated `VerticalDivider` has been deprecated. See the Carbon documentation for migration details.
*/
export declare const VerticalDivider: {
({ h, height, displayInline, tint, "aria-hidden": ariaHidden, ...props }: VerticalDividerProps): JSX.Element;
displayName: string;
};
export default VerticalDivider;