main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
531 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import {CssLikeObject} from '../types/common';
|
---|
| 2 | import {NanoRenderer} from '../types/nano';
|
---|
| 3 |
|
---|
| 4 | export interface SheetAddon {
|
---|
| 5 | /**
|
---|
| 6 | * Creates a collection of CSS rules.
|
---|
| 7 | *
|
---|
| 8 | * ```js
|
---|
| 9 | * const classes = sheet({
|
---|
| 10 | * wrapper: {
|
---|
| 11 | * border: '1px solid red',
|
---|
| 12 | * },
|
---|
| 13 | * button: {
|
---|
| 14 | * color: 'red',
|
---|
| 15 | * },
|
---|
| 16 | * });
|
---|
| 17 | * ```
|
---|
| 18 | */
|
---|
| 19 | sheet: (cssMap: {[s: string]: CssLikeObject}, block?: string) => {[s: string]: string};
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | export function addon(nano: NanoRenderer);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.