Skip to content

Commit 35ea373

Browse files
authored
Merge pull request #58 from buildo/accept-text-children-feedback
Allow TextChildren for Feedback description
2 parents e16613e + 96f6fac commit 35ea373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Feedback/createFeedback.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FunctionComponent } from "react";
2-
import { Body, ButtonProps, Children, Display, LocalizedString } from "..";
2+
import { Body, ButtonProps, Children, Display, LocalizedString, TextChildren } from "..";
33
import { Box, Stack } from "../internal";
44
import { feedbackStyle } from "./Feedback.css";
55
import { IllustrationProps } from "../Illustrations/IllustrationProps";
@@ -9,7 +9,7 @@ type Status = "positive" | "negative";
99

1010
type Props = {
1111
title: LocalizedString;
12-
description?: LocalizedString;
12+
description?: TextChildren;
1313
action?: Pick<ButtonProps, "label" | "onPress">;
1414
background?: boolean;
1515
size: "medium" | "large";

0 commit comments

Comments
 (0)