mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-22 02:56:28 -05:00
resolved review changes
This commit is contained in:
@@ -1,23 +1,13 @@
|
||||
interface HeadlineProps {
|
||||
headline?: string;
|
||||
questionId: string;
|
||||
labelStyle?: any;
|
||||
style?: any;
|
||||
required?: boolean;
|
||||
}
|
||||
|
||||
export default function Headline({
|
||||
headline,
|
||||
questionId,
|
||||
labelStyle,
|
||||
style,
|
||||
required = true,
|
||||
}: HeadlineProps) {
|
||||
export default function Headline({ headline, questionId, style, required = true }: HeadlineProps) {
|
||||
return (
|
||||
<label
|
||||
htmlFor={questionId}
|
||||
className="mb-1.5 block text-base font-semibold leading-6 text-slate-900"
|
||||
style={labelStyle}>
|
||||
<label htmlFor={questionId} className="mb-1.5 block text-base font-semibold leading-6 text-slate-900">
|
||||
<div className={"flex justify-between gap-4"} style={style}>
|
||||
{headline}
|
||||
{!required && (
|
||||
|
||||
Reference in New Issue
Block a user