-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(inline-inpouts): add ts type definitions
- Loading branch information
1 parent
9dce2b9
commit bbd8fef
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from "./inline-inputs"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import * as React from "react"; | ||
import * as OptionsHelper from "../../utils/helpers/options-helper/options-helper"; | ||
|
||
export interface InlineInputsProps { | ||
/** Children elements */ | ||
children?: React.ReactNode; | ||
/** [Legacy prop] A custom class name for the component. */ | ||
className?: string; | ||
/** Gutter prop gets passed down to Row component if false gutter value is "none" */ | ||
gutter?: "none" | OptionsHelper.SizesFull; | ||
/** The id of the corresponding input control for the label */ | ||
htmlFor?: string; | ||
/** Defines the label text for the heading. */ | ||
label?: string; | ||
} | ||
|
||
declare function InlineInputs(props: InlineInputsProps): JSX.Element; | ||
|
||
export default InlineInputs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters