Skip to main content

CourseJoinButton

Interfaces

CourseJoinButtonProps

Indexable

[p: string]: any

Others properties

Properties

PropertyTypeDescription
className?stringOverrides or extends the styles applied to the component. Default null
course?SCCourseTypeCourse Object Default null
courseId?numberId of the course Default null
onJoin?(course, status) => anyonJoin callback
user?SCUserTypeThe user to be accepted into the course Default null

Functions

CourseJoinButton()

CourseJoinButton(inProps): Element

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

Import

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

Component Name

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

CSS

Rule NameGlobal classDescription
root.SCCourseJoinButton-rootStyles applied to the root element.

Parameters

ParameterTypeDescription
inPropsCourseJoinButtonProps

Returns

Element