1.1.2 • Published 2 years ago

@makechtec/tlapali v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Tlapali

Installation

npm install @makechtec/tlapali @makechtec/tlapali_themes @makechtec/tlapali_langs

Usage

import { Code } from '@makechtec/tlapali';
import { Makech } from '@makechtec/tlapali_themes';
import { Java } from '@makechtec/tlapali_langs';

export const App = () => {

    return(
        <Code theme={Makech} lang={Java}>
            {`
                public class App {
                    private static final String name;
                }
            `}
        </Code>
    );

};

Notice that the children component is a multi-line string enclosed by curly brackets and backquotes.

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago