InputTitle
Reusable InputTitle for any form
Example
import {
InputTitle,
} from '@lad-tech/mobydick-core';
const InputList = () => {
return <InputTitle title={'Title'} />
};
export default InputList;
Props
Requiredtitle
| Type |
|---|
| string |
Title for Title
titleProps
| Type |
|---|
| IStyledTextProps |
required
| Type |
|---|
| boolean |
Mark field as required
titleStyles
| TYPE |
|---|
| TextStyle |
Custom styles for container
titleFont
| Type | DEFAULT |
|---|---|
| TypographyProp | 'Medium-Tertiary-XS' |
Font for title