BATALLA CULTURAL
INTEGRACIÓN PARA #BARÓMETROBC
ROTACIÓN AUTOMÁTICA CON RESULTADOS EN TIEMPO REAL
1 de 2
TOTAL DE VOTOS
175
Este card está diseñado para integrarse en #BarómetroBC. Puedes embeber el componente SurveyCard en tu aplicación.
autoRotate: Activar rotación automática
rotateInterval: Intervalo en ms (default: 8000)
compact: Modo compacto (max-width: 24rem)
import { SurveyCard } from '@/components/SurveyCard';
export default function MyPage() {
return (
<div>
<h1>Mi Encuesta</h1>
<SurveyCard
autoRotate={true}
rotateInterval={8000}
compact={false}
/>
</div>
);
}| Propiedad | Tipo | Default | Descripción |
|---|---|---|---|
| autoRotate | boolean | true | Activar rotación automática |
| rotateInterval | number | 8000 | Intervalo en milisegundos |
| compact | boolean | false | Modo compacto (max-width: 24rem) |