File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { useFlow } from '@/hooks/useFlow'
66
77type NPSOptions = { label : string ; value : string } [ ]
88
9- interface NPSProps extends FormProps {
9+ export interface NPSProps extends FormProps {
1010 /**
1111 * The options to display in the NPS field.
1212 * If not provided, the default NPS numbers from 0 to 10 will be used.
Original file line number Diff line number Diff line change 11// eslint-disable-next-line react-refresh/only-export-components -- NPS is a valid component name
2- export { NPS } from './NPS'
2+ export { NPS , type NPSProps } from './NPS'
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export { RadioField } from './components/Form/fields/RadioField'
2525export { Label } from './components/Form/fields/Label'
2626export { BaseField } from './components/Form/fields/BaseField'
2727export { Media , Image , Video } from './components/Media'
28+ export { type NPSProps } from './components/Survey/NPS'
2829
2930export * as Progress from './components/Progress'
3031export { ProgressBadge , type ProgressBadgeProps } from './components/ProgressBadge'
You can’t perform that action at this time.
0 commit comments