@workday/canvas-kit-docs
Version:
Documentation components of Canvas Kit components
13 lines (12 loc) • 839 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import { StatusIndicator } from '@workday/canvas-kit-preview-react/status-indicator';
import { base } from '@workday/canvas-tokens-web';
import { sparkleSingleSmallIcon } from '@workday/canvas-system-icons-web';
import { systemIconStencil } from '@workday/canvas-kit-react/icon';
export const AIIndicator = () => {
return (_jsx(_Fragment, { children: _jsxs(StatusIndicator, { className: "sb-unstyled indicator", cs: {
background: base.extendedDragonFruit400,
color: base.frenchVanilla100,
[systemIconStencil.vars.color]: base.frenchVanilla100,
}, children: [_jsx(StatusIndicator.Icon, { icon: sparkleSingleSmallIcon }), _jsx(StatusIndicator.Label, { children: "AI Content" })] }) }));
};