@navinc/base-react-components
Version:
Nav's Pattern Library
48 lines (47 loc) • 2.88 kB
TypeScript
export const UserFeedbackContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
export const ThankYouMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
export const AdditionalFeedbackContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
export function UserFeedback({ trackingLabel, className, initialPrompt, thumbsUpThankYouText, thumbsDownThankYouText, thumbsUpAdditionalFeedbackPrompt, thumbsDownAdditionalFeedbackPrompt, additionalFeedbackQuestion, }: {
trackingLabel?: string | undefined;
className: any;
initialPrompt?: string | undefined;
thumbsUpThankYouText?: string | undefined;
thumbsDownThankYouText?: string | undefined;
thumbsUpAdditionalFeedbackPrompt?: string | undefined;
thumbsDownAdditionalFeedbackPrompt?: string | undefined;
additionalFeedbackQuestion?: string | undefined;
}): JSX.Element | null;
export namespace UserFeedback {
namespace propTypes {
const trackingLabel: propTypes.Requireable<string>;
const initialPrompt: propTypes.Requireable<string>;
const thumbsUpThankYouText: propTypes.Requireable<string>;
const thumbsDownThankYouText: propTypes.Requireable<string>;
const thumbsUpAdditionalFeedbackPrompt: propTypes.Requireable<string>;
const thumbsDownAdditionalFeedbackPrompt: propTypes.Requireable<string>;
const additionalFeedbackQuestion: propTypes.Requireable<string>;
}
}
declare var _default: import("styled-components").StyledComponent<{
({ trackingLabel, className, initialPrompt, thumbsUpThankYouText, thumbsDownThankYouText, thumbsUpAdditionalFeedbackPrompt, thumbsDownAdditionalFeedbackPrompt, additionalFeedbackQuestion, }: {
trackingLabel?: string | undefined;
className: any;
initialPrompt?: string | undefined;
thumbsUpThankYouText?: string | undefined;
thumbsDownThankYouText?: string | undefined;
thumbsUpAdditionalFeedbackPrompt?: string | undefined;
thumbsDownAdditionalFeedbackPrompt?: string | undefined;
additionalFeedbackQuestion?: string | undefined;
}): JSX.Element | null;
propTypes: {
trackingLabel: propTypes.Requireable<string>;
initialPrompt: propTypes.Requireable<string>;
thumbsUpThankYouText: propTypes.Requireable<string>;
thumbsDownThankYouText: propTypes.Requireable<string>;
thumbsUpAdditionalFeedbackPrompt: propTypes.Requireable<string>;
thumbsDownAdditionalFeedbackPrompt: propTypes.Requireable<string>;
additionalFeedbackQuestion: propTypes.Requireable<string>;
};
}, import("styled-components").DefaultTheme, {}, never>;
export default _default;
import propTypes_1 from "prop-types";