Skip to main content

CourseParticipantsButton

Interfaces

CourseParticipantsButtonProps

Extends

  • Pick<ButtonProps, Exclude<keyof ButtonProps, "onClick" | "disabled">>

Indexable

[p: string]: any

Any other properties

Properties

PropertyTypeDescription
course?SCCourseTypeCourse Object Default null
courseId?numberCourseId of course object Default null
DialogProps?BaseDialogPropsProps to spread to followedBy dialog Default {}
hideCaption?booleanHide button label Default false

Functions

CourseParticipantsButton()

CourseParticipantsButton(inProps): Element

API documentation for the Community-JS Course Participants Button component. Learn about the available props and the CSS API.

Import

import {CourseParticipantsButton} from '@selfcommunity/react-ui';

Component Name

The name SCCourseParticipantsButton can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCCourseParticipantsButton-rootStyles applied to the root element.
dialogRoot.SCCourseParticipantsButton-dialog-rootStyles applied to the dialog root element.
endMessage.SCCourseParticipantsButton-end-messageStyles applied to the end message element.
infiniteScroll.SCCourseParticipantsButton-infinite-scrollStyles applied to the infinite scroll element.
participants.SCCourseParticipantsButton-participantsStyles applied to the participants section.

Parameters

ParameterTypeDescription
inPropsCourseParticipantsButtonProps

Returns

Element