Skip to content

Commit

Permalink
Remove unused files and move custom.css
Browse files Browse the repository at this point in the history
  • Loading branch information
arnautov-anton committed Oct 2, 2023
1 parent b3cc5f0 commit d0103dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
1 change: 0 additions & 1 deletion sample-apps/react/egress-composite/public/vite.svg

This file was deleted.

1 change: 0 additions & 1 deletion sample-apps/react/egress-composite/src/assets/react.svg

This file was deleted.

24 changes: 12 additions & 12 deletions sample-apps/react/egress-composite/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { CompositeApp } from './CompositeApp';
import '@stream-io/video-react-sdk/dist/css/styles.css';

// Uncomment this line to test your own custom CSS
// import cssUrl from './example/custom.css?url';
// import cssUrl from '../public/example/custom.css?url';

// @ts-expect-error TODO: this is a global function, we need to declare it
window.setupLayout = (configuration: ConfigurationValue) => {
Expand All @@ -33,18 +33,18 @@ window.setupLayout = (configuration: ConfigurationValue) => {
screenshare_layout: 'spotlight',
ext_css: cssUrl,
options: {
'title.text': 'Hey Streamers!',
'logo.image_url':
'title.text': 'Hey Streamers!',
'logo.image_url':
'https://getstream.io/blog/images/stream-logo.png',
'layout.background_color': 'red',
'video.background_color': 'green',
'video.scale_mode': 'fit',
'video.screenshare_scale_mode': 'fit',
'participant_label.border_color': '#fff',
'participant_label.border_width': '3px',
'participant_label.border_radius': '5px',
'participant_label.background_color': '#ddd',
'participant_label.text_color': 'darkblue',
'layout.background_color': 'red',
'video.background_color': 'green',
'video.scale_mode': 'fit',
'video.screenshare_scale_mode': 'fit',
'participant_label.border_color': '#fff',
'participant_label.border_width': '3px',
'participant_label.border_radius': '5px',
'participant_label.background_color': '#ddd',
'participant_label.text_color': 'darkblue',
},
} satisfies Partial<ConfigurationValue>)});`;
document.head.appendChild(v);
Expand Down

0 comments on commit d0103dd

Please sign in to comment.