mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
Co-authored-by: fisker <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
12 lines
363 B
Plaintext
12 lines
363 B
Plaintext
<!-- https://mdxjs.com/docs/what-is-mdx/#esm -->
|
|
|
|
import { External} from './some/place.js'
|
|
|
|
export const Local = properties => <span style={{color: 'red'}} {...properties} />
|
|
|
|
export const Local = (properties) => (
|
|
<span style={{ color: "red" }} {...properties} />
|
|
);
|
|
|
|
An <External>external</External> component and a <Local>local one</Local>.
|