mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
parent
5ee379e79f
commit
9e3d387da3
19 changed files with 421 additions and 18 deletions
7
src/components/OverflowMenu/formatStyle.js
Normal file
7
src/components/OverflowMenu/formatStyle.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
// TODO: extract utility
|
||||
// TODO: refactor params to present nicer API
|
||||
function formatStyle(style) {
|
||||
return ['<style>', style, '</style>'].join('');
|
||||
}
|
||||
|
||||
export { formatStyle };
|
Loading…
Add table
Add a link
Reference in a new issue