Update README.md
This commit is contained in:
parent
6cb75675e8
commit
a0cadfbf90
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user