# learnpress/4.3.8/assets/src/apps/js/blocks/course-elements/course-progress/edit.js

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.3.8. 18 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.3.8/code/assets/src/apps/js/blocks/course-elements/course-progress/edit.js
- Raw: https://pluginprobe.com/plugins/learnpress/4.3.8/raw/assets/src/apps/js/blocks/course-elements/course-progress/edit.js
- Modified: 2026-06-01T03:47:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.3.8/code/assets/src/apps/js/blocks/course-elements/course-progress/edit.js#L10-L20`.

```javascript
import { __ } from '@wordpress/i18n';
import { useBlockProps } from '@wordpress/block-editor';

export const edit = ( props ) => {
	const blockProps = useBlockProps();
	return (
		<>
			<div { ...blockProps }>
				<div className="course-progress">
					<span>{ 'Course passing progress: 0%' }</span>
					<div className="line"></div>
					<span>{ 'Start date: 2025' }</span>
				</div>
			</div>
		</>
	);
};

```
