mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
feat(docs): Added a Spelling Error Caution Notice
This commit is contained in:
22
docs/src/components/codes/SpellingCaution.jsx
Normal file
22
docs/src/components/codes/SpellingCaution.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: CC-BY-NC-SA-4.0
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import Admonition from "@theme/Admonition";
|
||||
|
||||
export default function SpellingCaution() {
|
||||
return (
|
||||
<Admonition type="caution">
|
||||
<p>
|
||||
Take extra notice of the spelling of the keycodes, especially the
|
||||
shorthand spelling. Otherwise, it will result in an elusive parsing
|
||||
error!
|
||||
</p>
|
||||
</Admonition>
|
||||
);
|
||||
}
|
||||
|
||||
SpellingCaution.propTypes = {};
|
||||
Reference in New Issue
Block a user