mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-30 03:33:48 -05:00
5035e3db9d
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
20 lines
389 B
TypeScript
20 lines
389 B
TypeScript
interface ArrayResponseProps {
|
|
value: string[];
|
|
}
|
|
|
|
export const ArrayResponse = ({ value }: ArrayResponseProps) => {
|
|
return (
|
|
<div className="my-1 font-normal text-slate-700" dir="auto">
|
|
{value.map(
|
|
(item, index) =>
|
|
item && (
|
|
<div key={index}>
|
|
{item}
|
|
<br />
|
|
</div>
|
|
)
|
|
)}
|
|
</div>
|
|
);
|
|
};
|