carbon-react
Version:
A library of reusable React components for easily building user interfaces.
24 lines (23 loc) • 1.18 kB
TypeScript
import { InlineInputsProps } from "./inline-inputs.component";
type GutterOptions = "none" | "extra-small" | "small" | "medium-small" | "medium" | "medium-large" | "large" | "extra-large";
interface StyledInlineInputProps {
/** Gutter prop gets passed down to Row component if false gutter value is "none" */
gutter?: GutterOptions;
}
export interface StyledContentContainerProps extends StyledInlineInputProps {
/** Width of the inline inputs container in percentage */
inputWidth?: number;
}
export interface StyledInlineInputsProps extends StyledInlineInputProps {
/** Width of a label in percentage */
labelWidth?: number;
/** @ignore @private */
labelInline?: boolean;
}
declare const StyledInlineInput: import("styled-components").StyledComponent<"div", any, InlineInputsProps, never>;
declare const StyledContentContainer: import("styled-components").StyledComponent<"div", any, InlineInputsProps, never>;
declare const StyledInlineInputs: import("styled-components").StyledComponent<"div", any, {
theme: object;
} & InlineInputsProps, "theme">;
export { StyledContentContainer, StyledInlineInput };
export default StyledInlineInputs;