diff --git a/.changeset/grumpy-streets-dance.md b/.changeset/grumpy-streets-dance.md new file mode 100644 index 00000000000..9c642aaff27 --- /dev/null +++ b/.changeset/grumpy-streets-dance.md @@ -0,0 +1,5 @@ +--- +'@primer/styled-react': patch +--- + +Exports TextInputProps diff --git a/packages/styled-react/src/index.tsx b/packages/styled-react/src/index.tsx index 6bb625118f4..43fee6d8030 100644 --- a/packages/styled-react/src/index.tsx +++ b/packages/styled-react/src/index.tsx @@ -33,7 +33,7 @@ import type { } from 'styled-system' import {Autocomplete} from './components/Autocomplete' import {Select} from './components/Select' -import {TextInput} from './components/TextInput' +import {TextInput, type TextInputProps} from './components/TextInput' type StyledProps = SxProp & SpaceProps & @@ -155,4 +155,4 @@ export { useColorSchemeVar, useTheme, } from '@primer/react' -export type {BoxProps, SxProp, BetterSystemStyleObject} +export type {BoxProps, SxProp, BetterSystemStyleObject, TextInputProps}