carbon-react
Version:
A library of reusable React components for easily building user interfaces.
14 lines (13 loc) • 970 B
TypeScript
import { MarginProps, PaddingProps } from "styled-system";
import { SidebarProps } from "../sidebar";
import { AdaptiveSidebarProps } from "./adaptive-sidebar.component";
type StyledAdaptiveSidebarProps = Pick<AdaptiveSidebarProps, "backgroundColor" | "borderColor" | "height" | "width"> & MarginProps & PaddingProps & {
tabIndex: number;
};
declare const StyledAdaptiveSidebar: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, any, StyledAdaptiveSidebarProps, never>;
interface StyledSidebarProps extends SidebarProps {
backgroundColor: "app" | "black" | "white";
hidden?: boolean;
}
declare const StyledSidebar: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<SidebarProps & import("react").RefAttributes<HTMLDivElement>>, any, StyledSidebarProps, never>;
export { StyledAdaptiveSidebar, StyledSidebar };