ostbay-player 1.0.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,6 +15,7 @@
15
15
  - Полнофункциональный аудиоплеер с плейлистом
16
16
  - Кастомные иконки Ostbay
17
17
  - Адаптивный дизайн
18
+ - Две темы: светлая и темная
18
19
 
19
20
  ## Установка
20
21
 
@@ -93,6 +94,7 @@ const App = () => {
93
94
  width: '100%',
94
95
  maxWidth: '600px'
95
96
  }}
97
+ theme="light"
96
98
  />
97
99
  );
98
100
  };
@@ -109,6 +111,7 @@ const App = () => {
109
111
  | `className` | `string` | ❌ | CSS класс для контейнера |
110
112
  | `ref` | `RefObject<HTMLDivElement>` | ❌ | Ссылка на HTML div элемент для контейнера |
111
113
  | `style` | `CSSProperties` | ❌ | Инлайн стили для контейнера |
114
+ | `theme` | `'dark' \| 'light'` | ❌ | Тема плеера. По умолчанию `'dark'` |
112
115
 
113
116
  ### IPlayListItem
114
117