* change root dit and change way to import modules * update deps to latest versions * use latest tools for building bundles * rewrite webpack config * use nomodule technique for loading modern bundle * inject polyfills by babel usebuiltins * update eslint rules * rename all style files to CSS * use postcss preset env for building styles * proper typescript typing * put all html files to templates folder * etc
20 lines
409 B
TypeScript
20 lines
409 B
TypeScript
import { h } from 'preact';
|
|
|
|
export default function CodeIcon() {
|
|
return (
|
|
<svg
|
|
className="comment-form__toolbar-icon"
|
|
viewBox="0 0 14 16"
|
|
version="1.1"
|
|
width="14"
|
|
height="16"
|
|
aria-hidden="true"
|
|
>
|
|
<path
|
|
fill-rule="evenodd"
|
|
d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"
|
|
/>
|
|
</svg>
|
|
);
|
|
}
|