UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

40 lines (33 loc) 1.37 kB
import { WidgetProps } from '../Widget'; import { CreateCourseButtonProps } from '../CreateCourseButton'; export interface CourseSkeletonProps extends WidgetProps { /** * Props to spread to CreateCourseButton component * @default {} */ CreateCourseButtonComponentProps?: CreateCourseButtonProps; /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; } /** * > API documentation for the Community-JS Course Placeholder component. Learn about the available props and the CSS API. #### Import ```jsx import {CourseCreatePlaceholder} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCCourse-placeholder-root` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCCourse-create-placeholder-root|Styles applied to the root element.| |imageWrapper|.SCCourse-create-placeholder-image|Styles applied to the image wrapper section.| |image|.SCCourse-create-placeholder-image|Styles applied to the image element.| |icon|.SCCourse-create-placeholder-icon|Styles applied to the course icon element.| |actions|.SCCourse-create-placeholder-actions|Styles applied to action section.| * */ export default function CourseCreatePlaceholder(inProps: CourseSkeletonProps): JSX.Element;