UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

12 lines (11 loc) 1.24 kB
import type { ThemeObject } from "../../style/themes/theme.types"; export declare const borderRadiusStyling = "\n > {\n &:first-child:last-child > * {\n border-radius: var(--borderRadius100);\n }\n\n &:first-child:not(:last-child) > * {\n border-top-left-radius: var(--borderRadius100);\n border-top-right-radius: var(--borderRadius100);\n border-bottom-right-radius: var(--borderRadius000);\n border-bottom-left-radius: var(--borderRadius000);\n }\n\n &:not(:first-child):not(:last-child) > * {\n border-radius: var(--borderRadius000);\n }\n\n &:last-child:not(:first-child) > * {\n border-top-right-radius: var(--borderRadius000);\n border-top-left-radius: var(--borderRadius000);\n border-bottom-left-radius: var(--borderRadius100);\n border-bottom-right-radius: var(--borderRadius100);\n }\n }\n"; type StyledSplitButtonChildrenContainerProps = { theme: ThemeObject; align: "left" | "right"; minWidth: number; }; declare const StyledSplitButtonChildrenContainer: import("styled-components").StyledComponent<"ul", any, { theme: object; } & StyledSplitButtonChildrenContainerProps, "theme">; export default StyledSplitButtonChildrenContainer;