Update README.md

This commit is contained in:
MaxOvs19 2022-12-22 15:48:05 +03:00 committed by GitHub
parent 6cb75675e8
commit a0cadfbf90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,8 @@ npm i cg-select
### Пример создния обычного селекта ### Пример создния обычного селекта
```javascript ```javascript
import { DropDown } from './cg-dropdown'; import {DropDown} from 'cg-select/src/cg-select';
import 'cg-select/src/main.scss'
const dropdown = new DropDown({ const dropdown = new DropDown({
selector: '.cg-dropdown_selector', selector: '.cg-dropdown_selector',