From c60354a8a9b6f0aa66da143a5a6c6b7361f03c4d Mon Sep 17 00:00:00 2001 From: nrmerlis Date: Fri, 26 Jul 2024 14:17:49 -0300 Subject: [PATCH] chore: export for ITextInputProps interface has been added (#341) --- src/components/data-entry/QueryItem/TextInput.tsx | 4 ++-- src/components/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/data-entry/QueryItem/TextInput.tsx b/src/components/data-entry/QueryItem/TextInput.tsx index 944f0cc1e..36cac939e 100644 --- a/src/components/data-entry/QueryItem/TextInput.tsx +++ b/src/components/data-entry/QueryItem/TextInput.tsx @@ -2,7 +2,7 @@ import './query-item.css' import { Input } from 'src/components' import { Typography } from 'src/components/general/Typography/Typography' -interface ITextInputProps { +export interface ITextInputProps { value?: string disabled?: boolean errorMessage?: string @@ -34,4 +34,4 @@ const TextInput = (props: ITextInputProps) => { ) } -export default TextInput \ No newline at end of file +export default TextInput diff --git a/src/components/index.ts b/src/components/index.ts index 548e2062b..64ebe18ed 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -22,6 +22,7 @@ export { Transfer, type ITransferProps } from './data-entry/Transfer/Transfer' export { QueryItem } from './data-entry/QueryItem/QueryItem' export type { IQueryItemQualifierOption } from './data-entry/QueryItem/Qualifier' export type { INumberInputProps } from './data-entry/QueryItem/NumberInput' +export type { ITextInputProps } from './data-entry/QueryItem/TextInput' export { Collapse, type ICollapseProps } from './data-display/Collapse/Collapse' export { Timeline, type ITimelineProps } from './data-display/Timeline/Timeline' export { Calendar, type ICalendarProps } from './data-display/Calendar/Calendar'