mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
15 lines
327 B
TypeScript
15 lines
327 B
TypeScript
export const Subheader: React.FC<{ subheader?: string; questionId: string }> = ({
|
|
subheader,
|
|
questionId,
|
|
}) => {
|
|
return (
|
|
<label
|
|
htmlFor={questionId}
|
|
className="mt-2 block text-sm font-normal leading-6 text-slate-500 dark:text-slate-400">
|
|
{subheader}
|
|
</label>
|
|
);
|
|
};
|
|
|
|
export default Subheader;
|