1.1.2 • Published 3 years ago

@makechtec/tlapali v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago