mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-26 11:48:27 -05:00
650b674e24
* simplify ui package, update all packages * fix typescript errors that occur during build
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;
|