Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 244 Bytes

scoped.md

File metadata and controls

10 lines (8 loc) · 244 Bytes

Scoped styles

Simply write CSS declarations without class names, your components will be scoped and assigned a class name automatically.

const template = (props) => ({
    color: 'red',
    background: props.theme.background,
});