mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Updates files outside of x-pack to be triple-licensed under Elastic License 2.0, AGPL 3.0, or SSPL 1.0. |
||
---|---|---|
.. | ||
src | ||
index.tsx | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.mdx | ||
tsconfig.json |
--- id: sharedUX/Components/KibanaSolutionAvatar slug: /shared-ux/components/avatar-solution title: Solution Avatar description: A wrapper around `EuiAvatar` tailored for use in Kibana solutions. tags: ['shared-ux', 'component'] date: 2022-05-04 --- ## Description A wrapper around `EuiAvatar` tailored for use in Kibana solutions. ## Usage If using for a known solution, (e.g. one whose logo is in EUI as `logoSomeSolution`), you can simply set the `name` prop: ```tsx <KibanaSolutionAvatar name="Kibana" size="xl" /> ``` If the name provided does not match a known solution, you *must* set the `iconType` prop: ```tsx <KibanaSolutionAvatar name="Hello World!" size="xl" iconType="logoElastic" /> ```