Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const sections = [
<tr>
<td>size</td>
<td>
<TableCode>'medium' | 'large' | 'fillParent'</TableCode>
<TableCode>'small' | 'medium' | 'large' | 'fillParent'</TableCode>
</td>
<td>Size of the component.</td>
<td>
Expand Down
4 changes: 4 additions & 0 deletions packages/lib/src/date-input/DateInput.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ const DateInputChromatic = () => (
<DxcDateInput label="Xxlarge" margin="xxlarge" />
</ExampleContainer>
<Title title="Sizes" theme="light" level={2} />
<ExampleContainer>
<Title title="Small size" theme="light" level={4} />
<DxcDateInput label="Small" size="small" />
</ExampleContainer>
<ExampleContainer>
<Title title="Medium size" theme="light" level={4} />
<DxcDateInput label="Medium" size="medium" />
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/date-input/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ type Props = {
/**
* Size of the component.
*/
size?: "medium" | "large" | "fillParent";
size?: "small" | "medium" | "large" | "fillParent";
/**
* Value of the tabindex attribute.
*/
Expand Down