Electrical Audio Entities
Bell
- Preview
- Usage
- Definition
import { Bell } from '@dinghy/diagrams/entitiesElectricalAudio'
<Bell/>
// or
import { extendStyle } from "@dinghy/base-components";
import { BELL } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, BELL)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.electro-mechanical.bell;',
},
_original_width: 47,
_original_height: 60,
}
Buzzer
- Preview
- Usage
- Definition
import { Buzzer } from '@dinghy/diagrams/entitiesElectricalAudio'
<Buzzer/>
// or
import { extendStyle } from "@dinghy/base-components";
import { BUZZER } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, BUZZER)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.electro-mechanical.buzzer;',
},
_original_width: 45,
_original_height: 60,
}
Dipole
- Preview
- Usage
- Definition
import { Dipole } from '@dinghy/diagrams/entitiesElectricalAudio'
<Dipole/>
// or
import { extendStyle } from "@dinghy/base-components";
import { DIPOLE } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, DIPOLE)}
/>
{
_style: {
entity: 'verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.radio.dipole;pointerEvents=1;',
},
_width: 100,
_height: 40,
}
Electret Microphone
- Preview
- Usage
- Definition
import { ElectretMicrophone } from '@dinghy/diagrams/entitiesElectricalAudio'
<ElectretMicrophone/>
// or
import { extendStyle } from "@dinghy/base-components";
import { ELECTRET_MICROPHONE } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, ELECTRET_MICROPHONE)}
/>
{
_style: {
entity: 'verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.radio.electret_microphone;',
},
_original_width: 70,
_original_height: 70,
}
Headphones
- Preview
- Usage
- Definition
import { Headphones } from '@dinghy/diagrams/entitiesElectricalAudio'
<Headphones/>
// or
import { extendStyle } from "@dinghy/base-components";
import { HEADPHONES } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, HEADPHONES)}
/>
{
_style: {
entity: 'verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.radio.headphones;pointerEvents=1;',
},
_original_width: 66,
_original_height: 56,
}
Loudspeaker
- Preview
- Usage
- Definition
import { Loudspeaker } from '@dinghy/diagrams/entitiesElectricalAudio'
<Loudspeaker/>
// or
import { extendStyle } from "@dinghy/base-components";
import { LOUDSPEAKER } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, LOUDSPEAKER)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.electro-mechanical.loudspeaker;',
},
_width: 25,
_height: 50,
}
Microphone
- Preview
- Usage
- Definition
import { Microphone } from '@dinghy/diagrams/entitiesElectricalAudio'
<Microphone/>
// or
import { extendStyle } from "@dinghy/base-components";
import { MICROPHONE } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, MICROPHONE)}
/>
{
_style: {
entity: 'verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.radio.microphone_1;',
},
_original_width: 70,
_original_height: 70,
}
Microphone 2
- Preview
- Usage
- Definition
import { Microphone2 } from '@dinghy/diagrams/entitiesElectricalAudio'
<Microphone2/>
// or
import { extendStyle } from "@dinghy/base-components";
import { MICROPHONE_2 } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, MICROPHONE_2)}
/>
{
_style: {
entity: 'verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.radio.microphone_2;',
},
_width: 42,
_height: 70,
}
Piezo Sounder
- Preview
- Usage
- Definition
import { PiezoSounder } from '@dinghy/diagrams/entitiesElectricalAudio'
<PiezoSounder/>
// or
import { extendStyle } from "@dinghy/base-components";
import { PIEZO_SOUNDER } from '@dinghy/diagrams/entitiesElectricalAudio'
<Shape
{...props}
_style={extendStyle(props, PIEZO_SOUNDER)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.electro-mechanical.piezo_sounder;pointerEvents=1;',
},
_width: 100,
_height: 40,
}