Skip to main content
Version: 1.x

PollQuestion

PollQuestion

The poll question component defines the question text for a Discord poll.

Example

import { PollQuestion } from 'commandkit';

const question = <PollQuestion>What's your favorite programming language?</PollQuestion>;
Signature
function PollQuestion({
children,
...props
}: PollQuestionProps): PollChild<PollQuestionMedia, PollChildType.Question>

Parameters

{

children, ...props }