@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
26 lines • 601 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
/**
* @private
*/
export const themedToggleButtonStyle = (theme, checked) => {
if (checked) {
return {
root: {
margin: 0
},
pill: {
backgroundColor: `${theme.palette.themePrimary} !important`
},
thumb: {
backgroundColor: `${theme.palette.white} !important`
}
};
}
return {
root: {
margin: 0
}
};
};
//# sourceMappingURL=MoreDrawer.styles.js.map