react-emmet icon indicating copy to clipboard operation
react-emmet copied to clipboard

Add support for React components

Open BrunnerLivio opened this issue 1 year ago • 0 comments

related: #3

It's just an initial effort to give a baseline of the described feature :)

cc.ComponentNam
class ComponentName extends React.Component {
  render() {
    return (
      <div></div>
    );
  }
}

cc.ComponentName[name]
class ComponentName extends React.Component {
  render() {
    return (
      <div></div>
    );
  }
}

fc.ComponentName
const ComponentName = () => {
  return (
    <div></div>
  );
};

fc.ComponentName[firstName, lastName]
const ComponentName = ({firstName, lastName}) => {
  return (
    <div></div>
  );
};

BrunnerLivio avatar Jan 28 '24 22:01 BrunnerLivio